No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello everyone, i'm using the keith woods jqeury datepicker, now my question is about the rangeselect option, it always blancs out dates previous to your first selected date, is it possible to change this so the "oldest" date is the first, it can be a little confusing for some users … |
|
Hello all, i posted this a while ago and the thread closed, this was my original question: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; … |
|
Hello everyone, i'm using a jquery datepicker like this: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; function nationalDays(date, inMonth) { if (inMonth) { for … |
|
hi all, i am trying to create a room booking system in php. now i want to check if a period exists within a given month. i ask the user for the month and how many days they want to come, now i want to look in mysql (where i … |
|
hello everyone, i think this a rather complex question but i'll have a go. i have this output from mysql printed on a php page: user1 ------------------- week | hours worked | hours had to work | missing hours 32 | 30 | 32 | 2 user2 ------------------- week | … |
|
Hello, I have a jQuery datpicker setup like this: [CODE] <script type="text/javascript"> $(function() { $('input').filter('#startPicker').datepick({ minDate: new Date(2010, 11, 20), maxDate: new Date(2010, 11, 27), multiSelect: 999, altField: '#date' }); }); </script> [/CODE] is it possible to show the number of dates the user clicks on in the altfield, or … |
|
Re:
I'm still learning PHP and just starting to get to grips with it. [CODE] $url = $_SERVER['REQUEST_URI']; $user = $_SERVER['HTTP_USER_AGENT']; if ($url == "/example.php" && $user == "HelloWorld") echo ""; else Header("Location: http://www.google.co.uk"); [/CODE] Basically what I'm trying to achieve is when the useragent is "HelloWorld" and the URL is … |
|
Re:
i have a form and text box where user can enter amount on the basis of that amount tax rate fetch from mysql.the query below working well but when user input above 50000 , i want tax_rate should be calcuated according to 35%.. ...it givning me empty result,,, how to … |
|
Hi everyone, i'm having a hard time achieving this: i have a table inside a form, with input fields ( price, qty, desc, total ( to be updated ), this works as it should with the following javascript: [CODE]<script type="text/javascript"><!-- function updatesum() { document.forms['hours'].elements['onktotal[]'].value = (document.forms['hours'].elements['onkqty[]'].value.replace(",", ".") -0) * (document.forms['hours'].elements['onkprice[]'].value.replace(",", … |
|
Hello everyone, i'm using jQuery datepicker with the weekselector like this: [CODE]$(function() { $('#startPicker').datepick({ renderer: $.datepick.weekOfYearRenderer, firstDay: 1, showOtherMonths: true, rangeSelect: true, minDate: '+1d', onShow: $.datepick.selectWeek } ); });[/CODE] what i would like to achieve is to only show weeknumbers, i need a weekselection only, does anyone know how to, … |
|
Hello all, i have a question regarding a mysql populated selectbox, i managed to fill this with data from a table, but now i want to show the selected value from another table ( with the same value of course). here is my selectbox now: [CODE]<select name="project" class="selectbox" tabindex="1"> <?php … |
|
Hello everyone, i have a problem with calculating my ending time in php, here is the situation: i get five values, [LIST] [*]$startdate [*]$startmin [*]$starthour [*]$minute [*]$hour [/LIST] where $minute and $hour are the event duration times, now what i am trying to achieve is with these values set, i … |
|
Hello all, i'm trying to show the time between a start & end time selection, problem is, i do not know my way around javascript/jquery that good, so i hoop someone will help me. i have four dropdown select boxes: [LIST] [*]start hour [*]start minute [*]end hour [*]end minute [/LIST] … |
|
Hi all! i'm having difficulties with jQuery datepicker to get two input fields with different dateformats, her is my code sofar: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ multiSelect: 999, monthsToShow: 2, altField: '#datum', altFormat: '"yyyy-mm-dd"', minDate: '+1d', } ); }); </script>[/CODE] Now my problem is i'm showing my datepicker in a … |
|
Hi everyone, i have a piece of javascript that calculates 2 input fields (price * qty) whenever i type in the input field (qty) that uses this : [CODE]onkeyup="update(this);"[/CODE] Now what i want is to execute this handling when the page loads, because sometimes there are already values (php & … |