Kinda? Unless I misunderstood the question, you can dynamically change
the form action and then call submit on it.

$('#myButton1').click(function(){
   // security checks which we assume pass
   $('#myForm').attr('action', 'page1.html').submit();
});

On Feb 25, 4:28 pm, James <[email protected]> wrote:
> I don't understand.
> By 'action' of the form, I suppose you mean the URL to POST to. Yes,
> you'll need a URL to POST to.
> How are you doing this "security permissions" check? Via AJAX to a
> server-side script?
>
> On Feb 25, 3:26 am, Webspeeder <[email protected]> wrote:
>
> > Hey all.
>
> > I have a page with 5 buttons and each button calls a different html
> > page. On click of each button, I'm checking security permissions and
> > then I need to call the html page associated with that button.
>
> > Is it possible to POST with JQuery without having to set the action of
> > the form? Currently, I have a form for each button with the action
> > populated with the program that is to be called. Is there an easier
> > way of doing this with JQuery?
>
> > ....

Reply via email to