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...
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="JavaScript">...
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...
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...
I have included a script and a form. The problem with it is that when it is inside the whole form it "highlights" 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...
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="JavaScript">
RetirementAge = 60;
</script>
But retirement age is 60 or greater, how would I declare that?
a piece of one of the fucntions...
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)...
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="pensionBenefits" method="post" action="output_civilian_e.cfm"
and am passing to a output page using...
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="salHistory" Is this possible?
function chkCurrency(fld) {
// insure currency input (no...
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?
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.