Was wondering if anyone knows of a script or way to have data entered into a text box added to an html string and return the result in a popup or the same page.
so take this for example
http://webmastertalk.com/images/(fill from text box).jpg
In the text box users could enter " 54321 "
and upon clicking a button the html link would change to:
and open the html link in a different window.
Thanks in advance =P
asked Dec 25 '10 at 01:52
Not sure about HTML but you could certainly do it using PHP and Ajax. The PHP script would just be a self submitting form and would submit into the url. For instance;
Then you would %_GET the form and the URL would be something like this;
The examples above a very rough but you get the idea.
Do a bit of research into PHP and Ajax and you'll be there in no time!
answered Dec 25 '10 at 06:57
answered Dec 26 '10 at 01:15
Where linkid is the ID of your hyperlink <a> tag.
answered Dec 26 '10 at 01:37