Sunday, 2 July 2017

How to stop textbox displaying previous entries when placing a cursor into a textbox ?

For this use jquery and in document.ready 
empty both text boxes using their respective id's
Lets take a example if you have username textbox with id txtUserName : use 
$("#txtUserName").val ("");
and for password 
if you have password textbox with id txtPassword : use 
$("#txtPassword").val ("");

No comments:

Post a Comment

React Hooks - custom Hook

  v CustomHook Ø React allows us to create our own hook which is known as custom hook. Example – 1 localStorage Demo Step-1 Create ...