2

My code is :

//cron.html    
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<
</head>

<body>
<form method="post" action="CETrafficGenerator.php?step=2">
<input type="text" name="url"/>




</body>

</html>

instead of typing the url can i pass it through cron.html?url= in this format?

Help needed please

2
  • The biggest problem I see here: Generator = Microsoft Word! Commented Jul 2, 2009 at 14:28
  • that is just a meta tag... an arbitary tag!! Commented Jul 2, 2009 at 17:15

3 Answers 3

2

Yes you could do, but you would have to fill it into the form field using javascript. You can use jQuery to make this easier - see http://projects.allmarkedup.com/jquery_url_parser/ for more info. Example:

$('url).value = jQuery.url.param('url');

And then make the form field like this:

<input type="text" name="url" id="url" value="" />
Sign up to request clarification or add additional context in comments.

Comments

1

Short answer == No

You'll need some sort of programming (php, asp, javascript) to take the value of the querystring and insert it to your text box.

Comments

0

No you can't. If you want to autofill form you can do this call CETrafficGenerator.php?step=2&url=http://google.com only but you have to change "method" from "post" to "get"

<form method="get" action="CETrafficGenerator.php?step=2">
<input type="text" name="url"/>
</form>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.