Quite nice, but mine should be attached to the form... Then again if I
reconsider my design :)
On Tue, Jun 25, 2013 at 9:24 AM, Lance Java wrote:
> I've recently added an onEvent mixin to tapestry-stitch which might be
> useful.
>
> It listens on a client event and sends a configurable list of c
I've recently added an onEvent mixin to tapestry-stitch which might be
useful.
It listens on a client event and sends a configurable list of clientside
field values to a serverside event.
http://tapestry-stitch.uklance.cloudbees.net/oneventdemo
Ok this appears to be wroking
$('#form').submit();
Thanks so much
Cheers
On Mon, Jun 24, 2013 at 10:53 PM, Boris Horvat wrote:
> By call I assume that you mean to use jquery to trigger an event?
>
> assuming that is what you meant then it wont work (or at least my code is
> not working)
>
>
By call I assume that you mean to use jquery to trigger an event?
assuming that is what you meant then it wont work (or at least my code is
not working)
function trigger(){
$('#form').trigger('onsubmit');
}
You can call onsubmit event exactly the same way you call submit now. It should
just work.
On Jun 24, 2013, at 4:40 PM, Boris Horvat wrote:
> Hi,
>
> How do you mean use onsubmit? That is an event, right?
>
> I want to submit a from vie ajax on blur event so I dont see how onsubmit
> event
Hi,
How do you mean use onsubmit? That is an event, right?
I want to submit a from vie ajax on blur event so I dont see how onsubmit
event will help me there :S
Thanks :)
On Mon, Jun 24, 2013 at 10:37 PM, Lenny Primak wrote:
> Use onsubmit() instead of submit. Untested but it should work.
> O
Use onsubmit() instead of submit. Untested but it should work.
Or look at how I do it in FlowLogix DisableAfterSubmit mixin
On Jun 24, 2013, at 4:32 PM, Boris Horvat wrote:
> Basically the code given bellow will throw an exception stating that this
> is not an ajax request
>
>
>
>