- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hi Guys, I am currently making a site again for a follow-up but now it needs date! I am currently testing it on a simple html, I found this simple code on the internet but as you can see for my title I need to like sort of "autoformat while … |
|
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); … |
|
can someone show me how to call two functions at the same time... and is it possible calling them with the onShow command? thanks |
|
Can someone check the way how I combine the two functions to work for my datepicker. Thanks. Clicking the header, make me select all the dates for that day for the entire month [CODE]selectColumn: function(picker, inst) { var target = $(this); picker.find('div.datepick-month th span').each(function() { $('<a href="javascript:void(0)" class="' + this.className … |
|
Here is a code I used for selecting the dates under my specified day (i.e. for all mondays of the month, tuesdays and so on. Take a look: [CODE]$('#dp1').datepick({multiSelect: 5, showTrigger: '#calImg', onShow: function(picker, inst) { var target = $(this); picker.find('div.datepick-month th span').each(function() { $('<a href="javascript:void(0)" class="' + this.className + … |
|
can anyone tell me how to use the Select = "selected" option for a simple dropdown. for example when someone chooses c it will have a code like <option selected="">c</option> (am I doing it right, well if you got a firebug some site with dropdowns offers that option) so can … |
|
So basically, as soon as my page loads I need to have a pre-loaded date to my drop-down boxes and in my textfields that came from my database as you will see if you go over my code. My drop-down boxes are auto-filled with the months-days-years because of my javascript. … |
|
cna anyone tell me how to use the Select = "selected" option for a simple dropdown. for example when someone chooses c it will have a code like <option selected="">c</option> (am I doing it right, well if you got a firebug some site with dropdowns offers that option) so can … |
|
Re:
menthods to connect a database mysql [CODE]<?php $host="localhost"; $user="root"; $pass=""; $db_name="oma"; $con=mysql_connect($host,$user,$pass) or die(mysql_error()); $db=mysql_select_db($db_name,$con); ?>[/CODE] What is the way you connect your database..? thnx |
|
Re:
i am installing php-joomla with apache on my system. m continuously getting the problem with mysql connectivity. The prob is: "Unable to connect to the database:The MySQL adapter "mysql" is not available." I have installed all the things & have also included dll extension of mysql. Please suggest a solution.. |
|
I don't know where to start so I just got to ask from the experts :). From my MySQL (database) I got a date formatted mm-dd-yyyy (i.e. 01/01/2010), now from my php page there are 3 dropdown/list menus which are for [B][Month]-[Day]-[Year][/B] and a [B][TextField][/B] then a [B][Submit Button][/B]. When … |
|
[CODE]<?php $username="root"; $password=""; $database="kuhadate"; mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "SELECT * FROM `ddate` WHERE 1 LIMIT 0 , 30"; $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_array($result) ?> <input name = "date" value="<?php echo $row['date']; ?>" type="text" /> [B]<input name = "month" value="" type="text" /> <input … |
|
can some tell me what's wrong i tried putting the $date in my textfield from my MySQL. can someone pls correct my code :) thanks [CODE]<?php $username="root"; $password=""; $database="dbdate"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "SELECT * FROM `cdate` WHERE 1 LIMIT 0 , 30"; $result = … |
|
So basically guys, the datepicker is connected to three fields (drop downs for..) [Month]/[Day]/[Year]-[Datepicker(Calendar)] now I just wanted to get the dropdowns' values and pass it on a textbox (namely: selectedDate - you can see below) having a format of [[U]mm/dd/yyy[/U]] thanks for the help experts. Code from [url]http://keith-wood.name/datepick.html[/url] [CODE]// … |
|
Can someone help me entering a date "manually" in MySQL thanks :) here's my code it's currently entering 0000-00-00 in my databse THE HTML [CODE]<html> <head> <title>..</title> <body> <form action="work1.php" method="post"> Value1: <input type="text" name="date"><br> <input type="Submit"> </form> </body> </head> </html>[/CODE] PHP [CODE]<?php $username="root"; $password=""; $database="wapwap"; $date=$_POST['Value1']; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or … |
|
Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 … |
|
Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight … |
|
So I have an assignment that involves the need of a vector in it can someone help me to code it i need to get the "text" in a "textbox", you know just passing it... btw, I'm using Netbeans and I need to code it on JSP... |
|
Re:
Hi Guys... me and my partner has a problem regarding printing a web page. We only wanted to print the body or one part of the page that we really need - a form to be exact. We were able to find codes with the help of Google but this … |