TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-04-2010, 09:34 PM   #1 (permalink)
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
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tip] Variable Prefixes bluesaga Tips & Tricks 24 10-22-2012 09:40 AM
how would i echo this javascript variable sarmenhb Javascript, AJAX, E4X 1 12-03-2008 02:06 PM
What is a Variable? codefreek Absolute Beginners 7 07-01-2008 08:29 PM
How do i lock a variable in a class Durux General 5 04-20-2008 09:11 PM
Easy Peasy Variable Validation quantumkangaroo Absolute Beginners 3 03-20-2008 03:30 PM


All times are GMT. The time now is 11:48 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design