coolchris322
02-04-2011, 04:49 PM
I was looking on a site the other day and noticed it was using jQuery to load pages, like habbox and my site.
Now, within one of the pages, I noticed it had a login form, and to submit the form, they used this sort of code
<form action="" method="post">
Username: <input type="text" name="username"><br>
Password: <input type="text" name="password"><br>
<input type="submit" value="Submit">
</form>
And when you enter the information, it logs you in and validates you.
How the hell does it run the log in information and queries while not having a action?
Now, within one of the pages, I noticed it had a login form, and to submit the form, they used this sort of code
<form action="" method="post">
Username: <input type="text" name="username"><br>
Password: <input type="text" name="password"><br>
<input type="submit" value="Submit">
</form>
And when you enter the information, it logs you in and validates you.
How the hell does it run the log in information and queries while not having a action?