$('select').change(function(){
alert($(this).data('id'));
});
<select>
<option data-id="1">one</option>
<option data-id="2">two</option>
<option data-id="3">three</option>
</select>
Subscribe to:
Post Comments (Atom)
How to Create WEBSITE DESIGN
Way2finder Technologies is a web design studio that offers corporate web design and custom web design. Our website designers offer cheap w...
-
var name = 'india' ; alert ( name ); var name = $ ( "#txtname" ). val (); alert ( name );
-
protected void btnexport_Click(object sender, EventArgs e) { string attachment = "attachment; filename=RepurchaseR...
-
Hackers are gearing up for iPhone 5S release with a contest to crack the device's first-ever fingerprint scanner, a high-tech fea...
No comments:
Post a Comment