469,270 Members | 1,172 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

How to translate a javascript's post method form into single URL for same execution?

Hi all,

Not sure whether you guys can help. Looking at both forms in javascript below:



Expand|Select|Wrap|Line Numbers
  1.  <html> 
  2. <head>
  3. <script language="Javascript">
  4.  
  5. </script>
  6. </head>
  7. <form name="TickerSearchInvestor" action="http://www.briefing.com/GeneralContent/Active/Investor/TickerSearch/TickerSearchInvestor.aspx" method="post" target="_self" ID="Form1">
  8. <strong>&nbsp;Ticker Search</strong><br>
  9. &nbsp;<input type="text" value=GOOG name="Ticker" size="7" class="mono" onkeyup="this.value=this.value.toUpperCase()" ID="Text1">
  10. </form>
  11.  




***** I can change this form into single URL with http://www.briefing.com/GeneralConte...px?Ticker=GOOG and I can reproduce the same result as were to submit through a html page.





Expand|Select|Wrap|Line Numbers
  1.  
  2. <form name="QuickSearchGoldEA12" action="http://www.briefing.com/GeneralContent/Active/Investor/TickerSearch/QuickSearch.aspx" method="post">
  3.  
  4. <strong>Quick Search</strong><br>
  5.  
  6. <input type="text" name=SearchRadio value=EarningsCalendar >
  7.  
  8. <input type="text" name=Ticker value=GOOG >
  9.  
  10. <input type="submit" value="Search" NAME="Submit2"><br>
  11.  
  12. </form>
  13.  
  14.  
  15.  
  16. </html>
  17.  

****** But I couldn’t change this form to single URL with http://www.briefing.com/GeneralConte...rningsCalendar for the second form and get the same result as submitting from a html page.



Any idea how to do it for 2nd form below?
Nov 9 '06 #1
2 4096
Any idea, guys? Anything that close to it is helpful. Is my question too difficult to be understood?
Nov 13 '06 #2
Guys, appreciate if anyone can tell me how to do this... or if further explaination needed.
Nov 16 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.