hi,
i'm trying to set a form value via an external js file. i don't know
javascript extremely well but i do know programming in general. anyway,
i thought this would be as easy as having a javascript file saved as
..js, and clicking it when i get to the page where i would like to set
the form value, with a code that looks like this -
document.form[0].myTextBox = "Search Term";
... if i click on this though, i get the error "document not defined."
can anyone help? as a concrete example, can someone show me the code
to, say, set the search textbox to the value "javascript" on
google/yahoo with said javascript file?
thank you thank you!
dan matthew