How can i save values from a form when i click submit without using PHP.
<form method="post" name="myform">
<p><input name="login" placeholder="Username" type="text"></p>
<p><input name="pass" placeholder="Password" type="password"></p>
<input name="submit" id="submit" onclick="show_alert();" value="submit" type="submit">
</form>
If text file is not possible. then tell me about any other way to store the data without using PHP. And kindly tell the easiest way possible.
I tried to find whole night but failed.
Thanks !