1.

Solve : Simple java script needed?

Answer»

Looking for a simple Java SCRIPT that will request an input, store the input to a string variable, and then output the variable on the same web page. Such as

1.) PLEASE enter your INITIALS

2.) (Output) your initials are ...

*Also wondering if java script has a string compare function like other programming languages or if I should just test the string to see if it MATCHES such as "DJL"=="DJL" then ... else ...

THANKS,

DaveTry one of the examples found on the below page:

http://gwydir.demon.co.uk/jo/javascript/html.htm



Discussion

No Comment Found