submit box help!
Postby philysworld » Tue Jul 24, 2012 2:59 pm
can some help me with html code really fast..?
iam useing a blog
i need a one line box where you can type in a url
submit button
when u submit it. (any user/guest can come to my site and submit a url)
it goes right to the html page i put the code in from top to bottom
(boxline) type in ur link here
(submit button) submit link
(layout fro top to bottom)
google.ca
msn.com
yahoo.ca
<html>
<head>
<title>Redirector</title>
<script type="text/javascript">
function goToUrl() {
var url = document.getElementById("urlHolder").val…
if (url=="")
alert("Enter a URL");
else
{
window.location=url;
}
}
</script>
</head>
<body>
<input type="text" id="urlHolder" name="urlHolder"/></br>
<input type="button" id="goButton" value="Submit" onclick="goToUrl();" /><a href="#" onclick="goToUrl();">Submit</a>
</body>
</html>
------------------
Link Building
Postby philysworld » Tue Jul 24, 2012 2:59 pm
can some help me with html code really fast..?
iam useing a blog
i need a one line box where you can type in a url
submit button
when u submit it. (any user/guest can come to my site and submit a url)
it goes right to the html page i put the code in from top to bottom
(boxline) type in ur link here
(submit button) submit link
(layout fro top to bottom)
google.ca
msn.com
yahoo.ca
<html>
<head>
<title>Redirector</title>
<script type="text/javascript">
function goToUrl() {
var url = document.getElementById("urlHolder").val…
if (url=="")
alert("Enter a URL");
else
{
window.location=url;
}
}
</script>
</head>
<body>
<input type="text" id="urlHolder" name="urlHolder"/></br>
<input type="button" id="goButton" value="Submit" onclick="goToUrl();" /><a href="#" onclick="goToUrl();">Submit</a>
</body>
</html>
------------------
Link Building