View Single Post
Old 04-04-2010, 09:34 PM   #1 (permalink)
Kay1021
The Contributor
 
Join Date: May 2008
Posts: 36
Thanks: 5
Kay1021 is on a distinguished road
Confused MooTime...need help finding variable

I am using this mootools time picker on my site mootime...i already have a date picker on my site...and i have it so once you have chosen the date and click outside the pop up calendar that the information will be sent to the database. I did this by using this bit of code in the javascript file

Code:
var url = 'page.php?cat_ID=' + this.input.get('id') + '&date=' + this.input.get('value');
      var request = new Request({
         url:url,
         method:'POST'//,
         //onRequest: function() {
         //   alert('making ajax call :: ' + url);
         //}
      }).send();

So it would send the variables I needed back to my page.php and there i could insert into the database. Works fine....but now i am attempting to do this with the time picker....this one is a little different set up....but i'm having trouble trying to find the right variables in the js file to use


Quote:
this.input.get('value')
doesn't work and i can't find the right combination. I was hoping someone might be able to help me.

Thanks
Kay1021 is offline  
Reply With Quote