flym4zt3r
Jan 27th 2008, 9:05 am
Hi. Sorry if this has already been answered but I can't find it and the search function doesn't work with the word 'url'.
I've been searching for quite a while now, and can't figure this out, though I believe the answe is fairly simple.
What I need to do is this:
Text form in an html page. Visitor writes something there and when he clicks the go/submit button, the page goes to a predefined url + the given variable. Something like:
...
var myvar = anything;
...
textbox input = anything
when submit button clicked:
some_function( 'http://www.site.com' + myvar );
something like: http://www.site.com/userdata
Thank you and sorry for my bad english.
I've been searching for quite a while now, and can't figure this out, though I believe the answe is fairly simple.
What I need to do is this:
Text form in an html page. Visitor writes something there and when he clicks the go/submit button, the page goes to a predefined url + the given variable. Something like:
...
var myvar = anything;
...
textbox input = anything
when submit button clicked:
some_function( 'http://www.site.com' + myvar );
something like: http://www.site.com/userdata
Thank you and sorry for my bad english.