jquery - How to set password and username in javascript for a form placed inside a bootstrap modal -


I entered the login model using Bootstrap 3 as explained in the link

< / P>

How to set the username and password for a particular value for the login form in the javascript code. I'm still learning HTML and CSS. I do not have much information about javascript.

  $ ('input [name = "username"]') Val (. '); $ ('Input [name =' password ']'). Val ('password')  

Although I'm not sure whether setting up a password directly is best idea.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -