Thanks, Dan. Eliminating the quotes around 'null' did the trick. These computers are so picky!
As for the '/' and '\', I will try to incorporate them as well. Thanks for the heads up.
Thank you too, Big Red. I hadn't thought of that.
Best,
Gary
I've been testing, studying & Googling but have yet to solve this problem. I'm sure this is a very common validation routine, but I can't find the answer. The user inputs a shipping address and I need to make sure it's a street address and not a P.O. Box. Here's what I have so far:
var stripped...
Hi Chris. Wise advice indeed. VALIDATE YOUR CODE.
I am not a programmer/designer/anything. I just fiddle around. Can you explain how YOU validate code? After I make something nice & pretty in Firefox I then have to spend at least as much time making it look the same in IE. I assume proper...
Thanks for the response, Vragabond. I just found the problem: I had an unclosed tag. Funny how you can concentrate on a problem for an hour without success and then after taking a break the answer leaps out at you!
~ Gary
I have a bunch of text that scrolls vertically. Inside that text I have several tables and they appear as expected and scroll along with the text.
I have a table I'll call 'cart' that I want to place inside the scrolling area but it won't go. The only way it will scroll merrily along is if I...
Nicsin & Tsuji, Thanks so much for your help. I now have it working thanks to both you. I mocked up a sender page and a receiver page with no extraneous code and it worked fine. So I knew the problem lied elsewhere.
I was not familiar with this application (could you tell?) so I spent the last...
Yes, tsuji, that's exactly what I have. But as I said in a previous post, there is some conflict taking place because after clicking the button:
Request.Form("whichSubmitButton") returns nothing and
Request.Form("whichSubmitButton").Count returns a zero
Doesn't that mean that the...
Hi nicsin,
I copied & pasted your first post and it still doesn't work. There must be some conflict at play here. The server still tells me it has not received the value for whichSubmitButton. There are many other things going on on both my source and my processing pages so I suspect there's...
Hi nicsin,
OK, with this submit command:
onClick="document.getElementById('whichSubmitButton').value=5;submit();"
And this at the receiving page:
If Request.Form("whichSubmitButton") = "5" Then
Response.Redirect "basket2.asp#oz1"
ElseIf Request.Form("whichSubmitButton") = "6" Then...
I don't know how to check the value at the server.
Firefox is giving me the following error:
document.getElementById('whichSubmitButton')HAS NO PROPERTIES
Thanks again, nicsin, but I had already fixed that & it still doesn't work. Thinking I had some remnant of code affecting that variable I changed the variable name to aargh and it still doesn't work. It just falls through to the default.
~ Gary
Thanks for taking a stab, nicsin, but that doesn't work either. The processing page is not receiving the value for 'whichSubmitButton'. The conditional that checks its value falls through to the default redirect every time.
Would it have anything to do with the fact that this form is POSTed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.