what want when click on radio buttons takes me next page without me clicking on next page.
@ moment have click on next page
application form link: http://goo.gl/cngjq
i have written code doesn't seem work:
(function ($, drupal, window, document, undefined) { $(document).ready(function() { $('.form-radio').click(function() { $('.next-tab mover').click(); }); }); })(jquery, drupal, this, this.document);
can tell me doing wrong code?
test case: http://jsbin.com/acopuj/1/edit
$('.next-tab mover') // <---- that's wrong
should be:
$('.next-tab.mover') // button has both classes, add '.' , remove 'space'
Comments
Post a Comment