Hello,
I have a simple question, but I don't know the answer
I have a button and want to link this button with a new html-page, but it don't works.
document.write('<td width="49%"><input type="button" name="Submit2" value=http://www.webdeveloper.com/forum/archive/index.php/"Order" class="text5" onClick="orderpage.html"></td></tr></div>');
When I click the button I get the error: JavaScript Error Descrition : 'orderpage' is undefinied"
Do you can help me?
It would be great.
Greetings
Alex
I have a simple question, but I don't know the answer
I have a button and want to link this button with a new html-page, but it don't works.
document.write('<td width="49%"><input type="button" name="Submit2" value=http://www.webdeveloper.com/forum/archive/index.php/"Order" class="text5" onClick="orderpage.html"></td></tr></div>');
When I click the button I get the error: JavaScript Error Descrition : 'orderpage' is undefinied"
Do you can help me?
It would be great.
Greetings
Alex