Click to See Complete Forum and Search --> : Set focus to the start of a textfield?


jovialjonny
09-18-2003, 11:37 AM
Hey,
I am opening a popup window containing a textfield which I initialize with a value which is a URL.

The problem is the URL is a bit huge and the textfield is small (needs to stay that way for styling purposes) and its not obvious to users that it is a url because the focus sets to the END of the url string.

I was just wondering if anyone knows how I can set the focus to be at the start of the url string so that in the textfield the user sees something like:
"http://www.blah"

instead of lots of ugly form variables at the end like it is now ie. "&contentId=21&callOrigin=stats&splitCheck"