faqts : Computers : Internet : Browser

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 21 people (67%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Can I write a script to fill in a form in my brower? I use I.E.

Nov 29th, 2001 21:12
Spiff Spaceman, Paul Andreassen,


yes you can, as a bookmarklet:
for example you have two input fields named "UserId" and "Passwd" in a 
form named "loginForm", then the bookmarklet would be:
javascript:document.loginForm.UserId.value='SpacemanSpiff'; 
document.loginForm.Passwd.value='watterson'; void(null);
Put this code into a bookmark and call it if you are on the page with 
the form!
lg Spiff