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

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -