<input type="text" id="custom" name="" value=""
data-custom="your data " >
<button type="button" onclick="alert($('#costume').attr('data-custom'));">Display Data</button>
<input type="text" id="custom" name="" value=""
data-custom="your data " >
<button type="button" onclick="alert($('#costume').attr('data-custom'));">Display Data</button>
1 Comments
good article keep it up .
ReplyDelete