[jQuery] Re: Problem with jquery.validate.js

2008-03-26 Thread Paul Collins
Hi all, As a follow up to this, I've decided to try and rewrite the image replace script with JQuery, so I can re-use it. The one thing I can't seem to find any info on at the moment is doing a search for only part of an ID. So in this instance, I would like to search for all submit input tags

[jQuery] Re: Problem with jquery.validate.js

2008-03-26 Thread Jörn Zaefferer
Paul Collins schrieb: Hi all, As a follow up to this, I've decided to try and rewrite the image replace script with JQuery, so I can re-use it. The one thing I can't seem to find any info on at the moment is doing a search for only part of an ID. So in this instance, I would like to search fo

[jQuery] Re: Problem with jquery.validate.js

2008-03-27 Thread Paul Collins
Thanks for your help Jörn, that's solved that part of my equation. I'm stuck again! I would like to find out how to get the value of an id that ends in "_replace" So for instance, I have the following line that looks for a input tag with the type of submit, that has an id ending with "_replace".

[jQuery] Re: Problem with jquery.validate.js

2008-03-27 Thread Jörn Zaefferer
Paul Collins schrieb: Thanks for your help Jörn, that's solved that part of my equation. I'm stuck again! I would like to find out how to get the value of an id that ends in "_replace" So for instance, I have the following line that looks for a input tag with the type of submit, that has an id

[jQuery] Re: Problem with jquery.validate.js

2008-03-27 Thread Paul Collins
Hi all, I'm really getting stuck here, sorry if I haven't made myself clear. I will try and explain briefly: All I want to do is pull the following two things out of the submit button and make them variables: - the content of the ID - the text of the VALUE Here is the line: Here is my curren

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
Thanks again Jorn, you've been a big help... If anyone can help me, I'd appreciate it, I just need to ask two more questions. My test page is here: http://paulcollinslondon.com/contactTest.php I'd just like to know: - How can I actually remove HTML and replace it with the JQuery code, instead o

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
Hi all, I've managed to replace the submit button with the following code: Send All I would like to know now is, how can I create the link for a HREF to submit the form? The catch is, I would like it to work with the ajax validator plugin. Any help is greatly appreciated. Cheers paul On 28/03

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
Hi all, Sorry to keep pestering, maybe I can make my request simpler so someone can help. I am using the Validator plugin, I would like to replace the submit button with an image using JQuery. The only problem is when I want to submit the form using a HREF, I need to somehow submit to the valida