Welcome to IDX Help. We can help you add IDX to your website, or create an entirely new web presence!
This January 1st, version 7 of our IDX Builder Debuts. Inquire for details.
more info
Title: Javascript Caveats and IE6
Author: Promethyl
Catagory: Code Which Makes Servers Happy
Date: Tuesday, July 3 2007
Recently, I had a IDX client mention a script error.
For the life of me, I could not find the error. I tested in Mozilla Firefox 2x and IE7.
I traced it down to the customer had IE6 as a browser. Apparently, there's a wierd bug that flags object expected error if you have underscores in your field id.
Thus, the below line flags an error.
document.getElementById('f_sort').value = 'price';
but this one does not.
document.getElementById('fsort').value = 'price';
This was used recently to change the sort order, along with document.form_id.submit(); and return false;.
Anyhow, I hope you find this useful in your IDX implementation.