[jQuery] Re: Help About Using JQuery With Struts 2

2009-04-29 Thread Steven Yang
one more thing if you want to ajax submit a form you might want to take a look at a great plugin http://malsup.com/jquery/form/

[jQuery] Re: Help About Using JQuery With Struts 2

2009-04-29 Thread Steven Yang
hi this might just be your typo but isnt url: "/AddNewClient" suppose to be url: "/AddNewClient.do" or .action? first of all, since your using ajax and it shouldnt have anything to do with form, so just to be on the save side i would change your button from type="submit" to type="button" since you

[jQuery] Re: Help About Using JQuery With Struts 2

2009-04-28 Thread ibmso...@gmail.com
The Problem Is That When i Don't Put an Action like : , the form doesn't want to add the data But Whene i Put something like : It Works , But The Field That use struts r not those that i recuperate from var loginClient = $("input#loginClient").val(); var passwordClientError = $("input#passwo

[jQuery] Re: Help About Using JQuery With Struts 2

2009-04-26 Thread Steven Yang
are you getting any error?or what are u getting at the server side? can you explain a bit more?