I call from a <select> tag a ajax.update and successfully it show up everything.
However using IE the <select> tag is completely empty. The Result don't show.
I'll really appreciate any help Thanks
AJAX FUNCTION
Expand|Select|Wrap|Line Numbers
- function findl()
- {
- var url = script.php';
- var params = 'submit_pol=' + $F('submit_pol');
- var ajax = new Ajax.Updater(
- {success: 'lossResult'}, url,{method: 'POST', parameters: params, asynchronous:true, evalScripts:true});
- }
[PHP] ...echo "<option name='submit_loss' value=''></option>";
foreach ($return as $row)
{
echo "<option value='$row[VAL]'>$row[VAL]</option></br>";
}
[/PHP]
HTML CODE:
[HTML]<select style="width:136px;height:14px"
name="submit_loss"
id="lossResult" onFocus="findl()">
<option value=""></option>
</select>[/HTML]