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.074 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started