I have the following code on my page:
Theoretically, when the user clicks on the button, a new window should open up with table_preview.php in it. I keep getting the error Invalid Argument. What does that mean? What am I doing wrong?
Code:
<form>
<input value="Preview Saved Changes" name="Submit" onClick="window.open('table_preview.php?Product_ID=123', 'Table Preview', 'width=800, height=600');" type="button">
</form>
Theoretically, when the user clicks on the button, a new window should open up with table_preview.php in it. I keep getting the error Invalid Argument. What does that mean? What am I doing wrong?