Re: How to access tapestry validation results inside jquery

2014-12-04 Thread Barry Books
In 5.4 there is an event for this. define(["jquery","t5/core/events"], *function*($,events) { *return* *function*(parameters) { $('#'+parameters.id + ' :submit').removeAttr('disabled'); $('#'+parameters.id).bind(events.form.prepareForSubmit, *function*() {

How to access tapestry validation results inside jquery

2014-12-03 Thread Sumanth
Hello Gurus, I have a ajax form component with a submit button. My requirement is to change the label of the button to "submitting.." and disable the button on the form submit. This form component has a select input field. The script to disable the button. define([ "jquery" ], function($) {