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

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started