Advertisement

07.03.2008 at 10:25PM PDT, ID: 23538774
[x]
Attachment Details

How do I multiply a text field string by a number?

Asked by drleewood in JavaScript

Tags:

I need to change the value of a text field before submitting if it meets a certain criteria.

      if( theForm.ci_billstate.value =="IL" || theForm.ci_billstate.value =="il" )
      { theForm.AMOUNT.value = string(number(theForm.AMOUNT.value) * 1.15);}
 does not work.Start Free Trial
[+][-]07.03.2008 at 10:30PM PDT, ID: 21931148

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 10:30PM PDT, ID: 21931149

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 10:44PM PDT, ID: 21931182

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 11:04PM PDT, ID: 21931233

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: Javascript
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628