YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Clicking Submit Button check two Java script Options
lsmith3306
#1 Posted : Friday, November 14, 2003 1:53:24 PM
Rank: Starting Member

Groups: Registered

Joined: 11/6/2003
Posts: 1
Location: ,
I have two Java Scripts the first one checks and make sure all the fields are valid. the second script adds the info to the fields so that they come on to the next screen, is there a way on the submit button to use the first Java Script and then go to the next Java Script to complete the task? Any Help on this I say Thank YOU!!
Sponsor  
 
ron
#2 Posted : Friday, November 14, 2003 2:15:18 PM
Rank: Starting Member

Groups: Registered

Joined: 11/24/2002
Posts: 2,004
Location: ,
Yes there is. But first, Java has absolutely nothing to do with JavaScript - they share an unfortunate similarity in names (one was taken as a source example for syntax, but has no other relationship to the other.) Java is a strictly typed language like C++, and JavaScript is untyped and "exists" to support browsers (mainly). Enough of that...

In JS, you can call one function from another, or (for clarity) you may call each function, in turn, from an event handler (EH) within your HTML. You probably need to look up EH's to see how to do what you want...

Ron.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.239 seconds.