I keep getting a runtime error stating that this
document.adddea ler.dealertoadd .value = dealer; is null or not an
object. I've rewritten the Function everyway I could think of, and
couldn't find any thread examples of my problem.
Here is my Function;
<Script language="JavaS cript">
<!--//hide
function AddDealer(deale r) {
document.adddea ler.dealertoadd .value = dealer;
document.adddea ler.submit();
}
//-->
</script>
This calls the Function;
<input type="button" value="Make This My Dealer"
onClick="AddDea ler('<%=(iwDeal erCode(x))%>'); " name="button">
When the code breaks and I bring up Microsoft Debugger it shows a
value in the parameter. I would appreciate any pointers on this.
Regards,
Andrew
document.adddea ler.dealertoadd .value = dealer; is null or not an
object. I've rewritten the Function everyway I could think of, and
couldn't find any thread examples of my problem.
Here is my Function;
<Script language="JavaS cript">
<!--//hide
function AddDealer(deale r) {
document.adddea ler.dealertoadd .value = dealer;
document.adddea ler.submit();
}
//-->
</script>
This calls the Function;
<input type="button" value="Make This My Dealer"
onClick="AddDea ler('<%=(iwDeal erCode(x))%>'); " name="button">
When the code breaks and I bring up Microsoft Debugger it shows a
value in the parameter. I would appreciate any pointers on this.
Regards,
Andrew
Comment