Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • albert
  • albert's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 70
  • Thank you received: 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?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.067 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started