Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mtorbin

    Referring to form elements via javascript variables

    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"...
  2. mtorbin

    Referring to form elements via javascript variables

    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
  3. mtorbin

    Referring to form elements via javascript variables

    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...
  4. mtorbin

    Is there an easier way to write this dynamic select?

    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] =...
  5. mtorbin

    Is there an easier way to write this dynamic select?

    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...
  6. mtorbin

    Is there an easier way to write this dynamic select?

    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...
  7. mtorbin

    Is there an easier way to write this dynamic select?

    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)...
  8. mtorbin

    Is there an easier way to write this dynamic select?

    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)...
  9. mtorbin

    Is there an easier way to write this dynamic select?

    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
  10. mtorbin

    Is there an easier way to write this dynamic select?

    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> <!--...
  11. mtorbin

    Converting a String to a Number

    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...
  12. mtorbin

    Combining Record Sets

    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...
  13. mtorbin

    Combining Record Sets

    SELECT cr_users.userid, cr_users.firstname, cr_users.initials, cr_users.lastname, cr_useraddr.addr1, cr_useraddr.addr2, cr_useraddr.city, cr_useraddr.stateprov, cr_useraddr.country, cr_useraddr.postalcode, cr_useraddr.phone...
  14. mtorbin

    Combining Record Sets

    George, I get an "invalid character" error when I try your code. - MT
  15. mtorbin

    Combining Record Sets

    I got this far, but it only returns the first result repeated the number times that I have records: SELECT...
  16. mtorbin

    Combining Record Sets

    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...
  17. mtorbin

    hostdef extension doesn't exist

    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
  18. mtorbin

    Remote User Access to Only Certain Files

    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...
  19. mtorbin

    GetFile or OpenTextFile = &quot;File Not Found&quot;??

    Conduct for what?? I had a question and I asked it. That' the point of this forum, and from what you're reading, it was answered. - MT
  20. mtorbin

    GetFile or OpenTextFile = &quot;File Not Found&quot;??

    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...

Part and Inventory Search

Back
Top