Hi folks,
I found the answer:
scroll(0,0);
In my code, I put this line right after the code to generate the error
message at the top of the page telling how many total errors there
are.
Hope this is helpful to someone.
Kathryn
On Mar 31, 6:05 pm, Kathryn wrote:
> I'm using the va
.com/2007/11/20/the-missing-parameter-of-jquerypost
I changed getJSON to post, specified the datatype as "json," changed
request.querystring to request.form in the asp file, and it worked. I
may never know why the other one didn't work, but thank goodness this
one is working.
Cheer
n another page and it
works fine. The only difference is that it's attached to the change
event of a dropdown rather than the click event of a button. What am I
missing???
Thanks!
Kathryn
How can I go to the top of the page after validation fails?
(Seems like this should be easy, but googling didn't reveal an
answer.)
Thanks in advance--
Kathryn
of hearing
it (hopefully not!) but jQuery ROCKS! I'm just learning it, but it has
simplified my coding and put wonderful enhancements within easy reach.
THANK YOU!!!
Kathryn
On Mar 30, 10:16 pm, John Resig wrote:
> Well, without being able to see the form in question - does your pag
dept variable and all the other variables are empty.
I know it's not a problem with the ASP code, because it was working
immediately before the upgrade and I haven't changed it.
Has anyone else had this happen, and if so, what did you do about it?
Thanks in advance,
Kathryn
Jörn,
Many thanks for the clarification and tip. When I removed the value
attribute completely, it didn't work, but when I left it in with no
value, the error message came up as expected. The code below works.
Thanks again--
Kathryn
--Select One--
Feb 16 - 20, 2009
Mar 16 - 20, 2009
A
e--") ==
-1);
},
"Please select a class.");
});
And here's the dropdown I'm trying to validate.
--Select One--
Feb 16 - 20, 2009
Mar 16 - 20, 2009
Apr 13 - 17, 2009
May 11 - 15, 2009
What am I doing wrong? Or is there another way to do this?
Thanks in advance!
Kathryn
8 matches
Mail list logo