Code: Select all
<input type='button' value='register' OnCLick="document.location.href=('register.php');">could anyone tell me what im doing wrong?
Moderator: General Moderators
Code: Select all
<input type='button' value='register' OnCLick="document.location.href=('register.php');">Code: Select all
<input type='button' value='register' onClick="document.location.href='register.php';">no_memories said:are there any other way to make a button-link?
CSS is the backbone of xHTML and the future of markup. If a site has good markup, well structured and modular PhP can be used. CSS takes out the redundant nature of HTML and modulates it without using tables or sloppy markup. Modulation is what it's about. mmmm-k I'm done with this topicThere is only one problem with using a java script to post your submit button.
If someone has java disabled, which many people do, it won't work.
Just my .02 cents.
Code: Select all
<input type="button" value="register" onclick="document.location.href='register.php';">