+ 3
How to attach working button to this username/ password code
7 Respostas
+ 13
<form>
<label>Username:-</label>
<input type="text" name="username"/><br />
<label>Password :-</label>
<input type="password" name="password" />
<input type="submit" value="Submit"/>
</form>
+ 3
How do you want the button to work?
+ 3
Just clickable
+ 2
<input type="submit">
when you out it in the same form, it will be (sort of) attached to the whole form
+ 2
@Dominique is that in html?
+ 1
replace <form> with <form method="post or get" action="controllingscript.php or of any language">
becare full above "or" is not the part of syntax
then include another field in form like
<button type="submit">Submit</button>
Now it will send your form data to the script as mentioned by action attribute.
Post: Sensitive data should be sent using it.
Get: Insensitive data should be sent using it.
You can read on many tutorial websites what actually post and get are.
+ 1
@michael yes