Is there any way I can use the URLbar to change the value (the text) of a textbox?
I can type "javascript:alert(document.lastModified)" into the URLbar, and it runs just fine--how can I run some javascript that says "Change X textbox's value to = Y"?
假设您要以相同的方式运行它:
javascript:document.getElementById('IDOFTEXTBOX').value='something';
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.