You need to programatically change the content of "value" during the creation of the HTML-Code. Remember, even if you have a PHP, ASP or whatever script, it still needs to feed the browser valid HTML-code. So, what the server reads: " echo "" + $ver + "th version of my site" ?> and sends "7th version of my site" Basically, in your code, the browser probably understands that it should fill the textbox with "mms://......." as a string, not with the content behind that link. This you would have to do via client- or server-side scripts, preferrably server-side ones. Cheers Sid