My JQuery POST is supposed to re-render new content in the Lightbox,
but this was not happening in IE8 and IE8 Document Mode. Would work in
IE8 Browser Mode and IE7 Document Mode.

Turns out there is something odd about how an HTML Select Option on
the form was handled. Regardless of how I defined my HTML Select
(originally without <option selected>, then with), the following piece
would always evaluate to null:

       op.attributes['value']

In the commented out code below, you’ll see that null is not checked
for, and the code will fail. The fix is to first check for
op.attributes['value']  being null…

   var v = $.browser.msie && !(op.attributes['value'] != null &&
           op.attributes['value'].specified) ? op.text : op.value;
// var v = $.browser.msie && !(op.attributes['value'].specified) ?
op.text : op.value;

Had to make same fix in both jquery.form.js and jquery.validation.js

More info:  This happens if you do not select anything in the HTML
Select pulldown. If you do make a choice (changing the defaulted
value) it works.

Any ideas?   Right now the JavaScript fix above works, but wondering
if there is something else I should know about this.

Reply via email to