Stars :
Status : Offline
Join Date: 21 Mar 2007
Posts: 2
Posted:
Wed Mar 21, 2007 3:00 am How to Pass a Submit Variable from Html to Asp? - Save this post
doing a query string at the end of a domain and sending it variables is exciting, I was wondering if an asp page could receive input variables "and" submit them so you could pass right through an asp form from an html page link, for instance, if i had a html page that was all about gadget "a", and there was a link to an asp form page that would go to a list of "a" gadgets on an asp site someone could click a link from that .html page and be directed to an asp form page and the link would carry in it's pathname the information to fill out the form and submit the info automatically without the user having to click submit on the .asp page so they went directly to the form results.thanks jrhttp://www.southerncaliforniarealestateagent.com _________________
hey dude!to do this you must insert some "input" elements (like textbox checkbox,...)inside a "form" tag. after pushing "Submit" or pressing "Enter" key, "Variables" (sent variables are elements that inserted inside a "Form" tag), if "METHOD" was "GET" you can see variables in address bar. see this:<form method="get"><input type="text" name="product"><input type="checkbox" name="stock" value=1></form> _________________ Thanks who helped me - cheers
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum