+ 1
Need help on how to use the form target with the submit tag
Can anyone pls explain to me how to use d form target url with d submit cos i wrote a short program including d target as one of my other programmed pages but when i click on submit/login, it does nothing
3 ответов
+ 12
If i have understood correctly, you want to create a form that links to other pages.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<form action = "YourPage.extension">
<input type = "submit" />
</form>
In SL you can't insert your personal file, you can create link to remote pages on web, for example:
<form action = "http://www.html.it">
<input type = "submit" />
</form>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 2
Following code should work if you have no other errors in code, I suggest that you should add your code.
<form method="post" action="#">
<!-- What ever you want to do
replace '#' with your relevant server side script-->
<input type = "submit" value ="Submit"/>
</form>
+ 1
understanding javascript might help a lot