# MooTime...need help finding variable

**URL:** <https://forum.kirupa.com/t/mootime-need-help-finding-variable/307498>\
**Category:** web dev\
**Created:** [April 4, 2010, 9:42pm UTC](https://forum.kirupa.com/t/mootime-need-help-finding-variable/307498 "2010-04-04T21:42:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kay1021](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@Kay1021](https://forum.kirupa.com/u/Kay1021)\
**Post date:** [April 4, 2010, 9:42pm UTC](https://forum.kirupa.com/t/mootime-need-help-finding-variable/307498/1 "2010-04-04T21:42:35Z")

</div>

I am using this mootools time picker on my site [mootime](http://www.consideropen.com/blog/2008/07/mootime-mootools-12-javascript-timepicker/)…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

```auto
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

> 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
