Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

&amp problem with POST

Status
Not open for further replies.

richey1

Technical User
Oct 5, 2004
184
GB
putting my web pages through firefox trying to improve accessibility it recommends where you have a href and a an & you replace the & with & - great works a treat !
it also prompted me with the same resolution for POST= (like below) except that doesn't work ?

any ideas ?
thanks
tony

method=""post"" action=""main.asp?page=1277&ID=" & rstJob("JobNumber") & "&vt=7&i=2&sID=" & sID & """>"



 
Ummm... I don't know what you have... but this is valid:
Code:
<form name="myForm" method="post" action="main.asp?page-1233&ampID=22123&ampvt=7">
Use the [code] tags to enclose your code before you post to prevent it getting messed up.

Jeff
 
thanks
the double-up quotes are because i'm writing it in a 3rd party software package so i build it up as a string using their built-in parameters for head, body etc

I'll try again the suggestions but I'm pretty sure thats what i did last time and it just ignored them and basically went
method=""post"" action=""main.asp?page=1277
 
alternative:

why not create hidden fields to store those values? this way, you can just make the form's action "main.asp" and the hidden fields will be passed along?

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
just discovered it was the response.redirect that was causing a problem with &amp; not the post
still don't know why but thanks anyway - doesn't error now in firefox anyway

regards
tony
 

cLFlaVA... it's not the first (and I bet it's not the last) time I've posted one of them without including the semi-colon [smile]

Cheers,
Jeff

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top