473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 4269
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

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

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.