asp.net - $find() returns null in IE 9 -
asp.net - $find() returns null in IE 9 -
sometimes $find()
method in sys.application.add_load
returns null
, please help me this.
please note that
this ie 9 specific issue
happens occasionally
method $('#id')
returns right jquery object
element i'm trying find span
within raddockzone
and same $find()
function returns ajax component after page loaded
code
sys.application.add_load(gridrefresh_ctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking); function gridrefresh_ctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking() { var gridctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking = $find('ctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking'); sys.application.remove_load(gridrefresh_ctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking); if(gridctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking._customdata['refreshonpageload']) gridctl00_contentplaceholder_ctl02_2_c_ctl00_gridbooking.refresh(); }
i'm not sure you're using syntax properly. see example:
http://jsfiddle.net/turiyag/7wntu/
$("#content").find("#someid").css({border:"5px solid blue"});
asp.net asp.net-ajax internet-explorer-9
Comments
Post a Comment