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

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started