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 Chriss Miller 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: *

  • Users: greatfalls
  • Content: Threads
  • Order by date
  1. greatfalls

    personalize site with css

    I am trying to figure out how best to personalize a site using javascript and css. That is when a person comes to my site, depending on where they came from, (will use the document.referrer -for this part) dispaly css 1 vs css2 to certrain tags. I would think there would be an example of this...
  2. greatfalls

    cookies and popup disclaimer

    I have a cookie that pops up a disclaimer everyday on a html page, I now have another html page that also needs to popup the disclaimer. The problem is only the first one works and if I go to the second page the disclaimer won't pop up. Any suggestions? <script language=&quot;JavaScript&quot;>...
  3. greatfalls

    need double validation check

    I have many pages of validation (to much to post)of the below piece of a form. One is the below function, when I would put values that didn't pass the validation into the below script, the alert works but in Netscape, I would get this highlighted and freezing effect. I found that by taking out...
  4. greatfalls

    javascript form problem - want to try in cf

    I have a form that is in javascript - in Netscape, when focus is on the field , and it is trying to validate it causes the form to freeze and hightligh. SO to try to get rid of this before problem I want try to add some cf tags, and see if that solves the Netscape problem. I am not sure how...
  5. greatfalls

    form - alerts - validation problems

    I have included a script and a form. The problem with it is that when it is inside the whole form it &quot;highlights&quot; the whole form - I guess the onfocus does this - it only happens in Netscape. It cannot skip any boxes, which the script catches, but then it lets you go to the output...
  6. greatfalls

    syntex problem

    Hi, How would I fix the below. I have a global variable at the top of my scripts and it gets used down below in some functions. <script language=&quot;JavaScript&quot;> RetirementAge = 60; </script> But retirement age is 60 or greater, how would I declare that? a piece of one of the fucntions...
  7. greatfalls

    validate form text box - percent increase

    I have the following functin in a form. I need to make it so that any percent greater then 10.00 (10 percent) doesn't get submited, and a alert apears instead. Any help would be appreciated, Thanks function chkIncrease(fld) { var str = fld.value.replace(/\s/g,''); if (str.length==0)...
  8. greatfalls

    passing value - works in IE and not in Netscape

    I am not sure what is wrong with the following. Any advice would be greatly appreciated. I have a input page, using a form with the following code: <form name=&quot;pensionBenefits&quot; method=&quot;post&quot; action=&quot;output_civilian_e.cfm&quot; and am passing to a output page using...
  9. greatfalls

    passing values in form to output page

    I have a javascript that is doing a calculation and displaying some dollar values and I would like to display them on the output page as well, but the name of each field is the same. Which is name=&quot;salHistory&quot; Is this possible? function chkCurrency(fld) { // insure currency input (no...
  10. greatfalls

    DateFormat and DateAdd

    I can get the current year; <CFOUTPUT>#DateFormat(Now(),' yyyy')#</CFOUTPUT> but then I am trying to display the year 2000 #DateAdd('YYYY', -1, Now())#</CFOUTPUT> and I get {ts '2001-04-23 21:02:38'} I don't see what is wrong with this?

Part and Inventory Search

Back
Top