it will not work directly, but you can assign them via AJAX calls in JavaScript, idk really knows if this application is really in the real world (it would be possible to confuse the parameters expected by the server)
having
<form id="login" method="post" action="someurl"> <input id="username" type="text" /> <input id="password" type="password" /> <input type="submit" value="login" /> </form>
JS to handle will be (using jQuery to handle ajax)
$("#login").on("submit",function(ev){ $.post("someurl",{ usrn: $("#username").val, pwd: $("#password").val },function(ev){
please, please, the code may not be completely correct, since I have not tested it, but the logic behind it should be clear
Dan Espinoza Dec 10 '15 at 16:42 2015-12-10 16:42
source share