/ Published in: jQuery

// Taken from :
// http://www.west-wind.com/weblog/posts/42319.aspx
// http://www.west-wind.com/weblog/posts/42319.aspx
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Include this script into your externatl master js file. function $$(id, context) { var el = $("#" + id, context); if (el.length < 1) el = $("[id$=_" + id + "]", context); return el; } // Hence we can easilly use $$ function in order to select and asp.net control. var username = $$("UserName"); var password = $$("Password");
URL: http://www.west-wind.com/weblog/posts/42319.aspx
Comments
