Need someone to make a simple page in which there is one text field, and a submit button. When the submit button is pressed, it takes the text from the text field that was inputted and appends it to a URL and loads that URL up. Very easy, need this done ASAP. EDIT: Ok, 3 replies from people. No more PM until I sort through them, thanks.
Heres the code you need: Donate me some bubz if you like the code or just ignore this if you don't <input id="testAppend"><input type="button" value="Submit" onclick="window.location = 'http://forums.digitalpoint.com/showthread.php?t=' + document.getElementById('testAppend').value;"> Code (markup):
Yep that does the job; Complete page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <input id="testAppend"> <input type="button" value="Submit" onclick="window.location = 'http://forums.digitalpoint.com/showthread.php?t=' + document.getElementById('testAppend').value;"> </body> </html> Code (markup):