AJAX: Trying to autosubmit a form

Hey Guys,

I’m trying to do some fancy AJAX stuff here where basically I need to hit a page that holds a form, populate all of the data in that form and then submit the form… In my JS I have this:

jQuery.post("/site.jsp",{
arg1: data,
arg2: data2,
arg3: data3
},

At the moment I know that my args are being passed through because I am throwing an alert displaying the data that is showing me what’s coming back and I’m getting my form with the values of them set properly, as well as the JS I added to that page to submit the form… So obviously the form isn’t submitting. If I could just get the form to submit it would be working fine. I can hit the site and submit stuff fine (auto submit isn’t working though when I hit the page in a browser, but when I press submit the data goes to my DB fine…)

I know this HAS to be a simple fix, but I can’t figure it out, can anyone help me?

Thanks,

–d