Unfortunately, I am still getting the same errors:
// Dynamic Date List Boxes
var i;
var today = new Date();
var currentYear = today.getYear();
var currentMonth = today.getMonth();
var currentDay = today.getDate();
var months = new Array();
months[0] = "january";
months[1] = "february"...
Kaht,
My appologies. I'll try to be more considerate.
- MT
Matt Torbin
Center City Philadelphia Macintosh Users Group
http://www.ccpmug.org
ichat/aim: mtorbin_at_mac.com
direct email: mtorbin_at_mac.com
Hey all,
I'm having a lot of trouble with the following:
function buildPage(formName,monthName,dayName,yearName) {
formName = document.formName;
monthName = document.formName.monthName;
dayName = document.formName.dayName;
yearName = document.formName.yearName...
I just realized that the full code above has NOT been posted, so here it is:
// Dynamic Date List Boxes
var i;
var today = new Date();
var currentYear = today.getYear();
var currentMonth = today.getMonth();
var currentDay = today.getDate();
var months = new Array();
months[0] =...
Thanks guys! OK, here's part two. I want to make this exensible so I made the following changes (please note I'm not going to post the full code as it's already posted above. Only the changes will be posted):
<body onLoad="buildPage('myForm','theMonth','theDay','theYear');">
and
function...
Thanks all. Here is the final (working) version:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script>
<!--
function...
Here's the updated code. The selected = true part isn't working yet so any advice would be much apprecited:
function changeDate(selectedMonth) {
alert(selectedMonth);
switch(selectedMonth) {
case "january":
createOptions(31);
break;
case "february":
createOptions(28)...
Ok, I don't know why I didn't think of this last night, but this works SO much better:
<script>
<!--
function changeDate(selectedMonth) {
alert(selectedMonth);
switch(selectedMonth) {
case "january":
createOptions(31);
break;
case "february":
createOptions(28)...
When the user selects the month dropdown the day dropdown will automatically change so that they can't select, say, 11/31/2006 which doesn't exist.
- MT
Hey all,
I'm having trouble with the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script>
<!--...
Hey gang,
I am working on the following code snippet:
<cfset journalPrefix = Left(#URL.PubID#,2)>
<cfset journalVolume = Mid(#URL.PubID#,3,2)>
<cfset journalIssue = Mid(#URL.PubID#,6,1)>
<cfif (journalPrefix IS "HR")>
<cfif (journalVolume = 8) AND (journalIssue >= 6)>
<frameset...
The following query gives me an "invalid character" error:
SELECT U.userid,
U.firstname,
U.initials,
U.lastname,
A.addr1,
A.addr2,
A.city,
A.stateprov,
A.country,
A.postalcode,
A.phone
FROM cr_users As U...
Hey folks,
How do I combine the two results sets into one:
SELECT userid,firstname,initials,lastname FROM cr_users WHERE userid IN ('1435335','1034861','1425675','1425855')
SELECT userid,addr1,addr2,city,stateprov,country,postalcode,phone FROM cr_useraddr WHERE userid IN...
Hey folks,
I just "inhereited" a database (as in the db left and now it's my job) and we're getting the following error:
hostdef extension doesn't exist
I AM NOT A DB, but can find my way around a SQL database. Please help as I haven't the first clue how to fix this.
Thanks,
- MT
Hey gang,
I want to allow my wife to be able to access a hard drive on a particular machine we have but ONLY allow access to certain directories. In other words, she only needs to see the iTunes directory, the iPhoto directory and a few others. All others should not be visible to her. How do...
I'm not quite sure what that is supposed to mean, but given the fact that I work full time, I don't have every opportunity to be as specific as I'd like. Frankly as far as I'm concerned, if you're going to be part of a community, then you should embrace the idea of helping one another, not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.