User Profile

Collapse

Profile Sidebar

Collapse
riteoh
riteoh
Last Activity: Jul 18 '08, 10:51 AM
Joined: Jul 6 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • riteoh
    started a topic Click (alert) then submit

    Click (alert) then submit

    Hi,

    Only new to javascript., and most of my learning is from browsing for hints - but can't find an answer to this one.

    I have an order form designed for my business, that runs a series of javascript statements for validation etc. However I want to add an event on submission, that comes up with a box confirming the order is about to be submitted once OK is pressed. I figured that I could somehow combine my onsubmit...
    See more | Go to post

  • riteoh
    started a topic If value of text field

    If value of text field

    Hi,

    I have the following code written...

    Code:
    Totamt = 
         eval(TotA) +
         eval(TotB) +
    	 eval(TotC) +
         eval(TotD) ;
    	 
    	 if (Code =="ABC")
    		{Discount = Totamt * .05};
    		Totamt = Totamt - Discount;
    	 
    	if (eval(Totamt) > 75)
    		{Discount = Totamt * .1};
    		Totamt = Totamt - Discount;
    Apart from my form calculating...
    See more | Go to post
    Last edited by acoder; Jul 8 '08, 05:54 PM. Reason: Added [code] tags
No activity results to display
Show More
Working...