Home > Software engineering >  Textbox value disappears after click
Textbox value disappears after click

Time:02-10

I'm using jQuery to populate a textbox, this works. But if I then click on another place in the page, the entered text disappears. If there was already a text, it will be returned, if the field was empty there is nothing more.

URL: http://25282356.hs-sites-eu1.com/tester

jQuery:

jQuery('input[name="address"]').val('Test')

CodePudding user response:

  •  Tags:  
  • Related