Menu
Hi folks,
I have a quick, hopefully easy question. I have a form with a url field and a button next to it for testing the url. I used an onclick=”testURL(url.value)” to trigger a new window with the url. This works fne, but at some point the text field with the user’s url is cleared, so that when they close the new/test window and come back to the form, their url is gone.
I tried reassigning the value using document.getElementById(“url”).value = url but that didn’t work.
How do I prevent this.
Thanks a bunch!