$('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...
-
In Html <div id="div_id"></div> In Jquery code JqueryDatabind.js $.fn.DataBind = function () { va...
No comments:
Post a Comment