I've got a dropdown list that I've made into a dynamic control. When someone selects a value, it will fill out all the other labels and text boxes via PHP. This is all working lovely on firefox, but ie is having problems.
Here's the Code I;m using
Code:
<script language="JavaScript" type="text/javascript">
function presubmit(dropdown)
{
var i = dropdown.selectedIndex
document.perform.action= ("index.php?type=user&edit=music&name=" + dropdown.options[i].value);
document.perform.submit();
}
</script>
Called by
Code:
<select name="performer" id="performer" onchange="presubmit(this.form.performer)">
When in IE, I change the control and the page does indeed send data the string to index.php but minus the value of the dropdown list ( index.php?type=user&edit=music&name=). I'm don't know much about javascript so any help would be appreciated.
|