Is there a fix for asp.net validation client javascript expando attributes JavaScript errors -



Is there a fix for asp.net validation client javascript expando attributes JavaScript errors -

ie8, in ie8 mode , ie8 standards, moaning next ternary statement

var ctl00_contentplaceholderbody_qvalidator_combobox_12335_1_1_-1 = document.all ? document.all["ctl00_contentplaceholderbody_qvalidator_combobox_12335_1_1_-1"] : document.getelementbyid("ctl00_contentplaceholderbody_qvalidator_combobox_12335_1_1_-1");

ie9 doesn't

these variables , associated expando attributes rendered via asp.net client side validation api , have no command on them. ideas?

edit:

to include block believed expando attributes cause of problem...

var ctl00_contentplaceholderbody_qvalidator_textbox_12718_1_1-1 = document.all ? document.all["ctl00_contentplaceholderbody_qvalidator_textbox_12718_1_1-1"] : document.getelementbyid("ctl00_contentplaceholderbody_qvalidator_textbox_12718_1_1-1"); ctl00_contentplaceholderbody_qvalidator_textbox_12718_1_1-1.controltovalidate = "ctl00_contentplaceholderbody_textbox_12718_1_1";

these expando attributes right?

ctl00_contentplaceholderbody_qvalidator_textbox_12718_1_1-1.display = "dynamic";

javascript asp.net validation

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 -