I want to write a value of a textbox somewhere else in the page, is that possible?
Im pritty new to this whole javascript thing, but i did some attempts on this one. All i could think about is this:
It's useful for beginners but some questions are old. If you see something with "document.layers" or "document.all" use the modern equivalent document.getElementById('idStr')
ok- i think i get it. you're saying that by using window.location=, you're not technically setting any properties for the object "location", and you should be setting the property "href". and of course "window" can be dropped anyway. (see, my education in javascript has been a little random...) makes good sense. thanks
One of the properties of location is href that can be use to get or set the location. The default property of location is href, so my saying it's "incorrect" is wrong.
It's like using the keyword "with". It leaves the script open to interpretation by a browser. Better safe than sorry by pointing to the property directly:
Bookmarks