Welcome, Guest
Username: Password: Remember me

TOPIC: on change on date picker

on change on date picker 29 May 2014 10:37 #12458

  • albert
  • albert's Avatar
  • Offline
  • Senior Member
  • Posts: 70
  • Thank you received: 2
  • Karma: 2
Hi, I am doing a component where i have to date input fields, jform_start_contract and jform_end_contract, and i want to make some changes depending on the differences among this 2 fields (for instance if more than 6 months change default values for other inputs).

I try to find how to trigger the value change but i am not able.
For a single field i do easy by doing :
jQuery('#jform_project').change(function() {
alert('ha');
});

i tried with datepicker and onselect, but i have been not able.
any help?
The administrator has disabled public write access.
Time to create page: 0.069 seconds

Get Started