Advertisement

Problem with IE

Moderators: Calcifer, slothy

Problem with IE

Postby fmisondemand » Tue Apr 24, 2007 9:41 pm

Hi does anybody know why the second parameter isnt send to the script getRuimteList in IE. No problem in FF 2.0

<select id="verdieping" name="Verdieping" onchange="getRuimteList($('pand').options[$('pand').selectedIndex].value,this.options[this.selectedIndex].value);">
fmisondemand
 
Posts: 9
Joined: Wed Feb 07, 2007 10:16 pm

Postby fmisondemand » Wed Apr 25, 2007 9:10 pm

Hi everybody. Again I have the answer by myself. Ok, it took several nightly hours. The problem is this. I do not use always text and values options in my selectboxes. Sometimes just text no values. FF 2.0 probable return the text if you refer to this.options[this.selectedIndex].value. Even if there is no value but only text. Probably IE is more strict in this and return just the value. If there is no value nothing is returned.

So after adding values to my select options all works fine.
fmisondemand
 
Posts: 9
Joined: Wed Feb 07, 2007 10:16 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 28 guests

cron