View Single Post
03-05-2010, 09:12 AM
#1
paulOr is offline paulOr
paulOr's Avatar
Status: Member
Join date: Oct 2007
Location: Scotland
Expertise:
Software:
 
Posts: 140
iTrader: 2 / 100%
 

paulOr is on a distinguished road

  Old  Competent jQuery programmer needed

Very small job, i have a SELECT box which gets data from a mysql database, I need to get some of the info relating to whatever you pick in the select box to be passed through to a jQuery datepicker (already in place) - WITHOUT THE PAGE RELOADING.

heres some source just so you know what your getting yourself into:

The Select Box
PHP Code:
<select id="festival" name="festival" class="select">
                                                            <?php
                                                                $fest_q 
mysql_query("SELECT * FROM `festivals` ORDER BY ABS(`strstart`) ASC");
                                                                while(
$fest mysql_fetch_array($fest_q)) {
                                                                    echo 
'<option value="'.$fest['id'].'">'.$fest['name'].'</option>'."\n";
                                                                }
                                                            
?>
                                                        </select></p>
The DatePicker JS
PHP Code:
$(function() {
    $(
"#datetime").datepicker({minDate'11/3/2010'maxDate'28/3/2010'});
}); 
So when you select an item from the select box, i want to grab the assossiated dates along side it and put them into the datepicker JS, in real time, now page reloading..

Anyone able to do this for me? Give me a price

Reply With Quote