Jump to content

Some definitions of JavaScript


active-worker

Recommended Posts

What is string?What is parameter?What is parentheses () ? Please see the following codes: <html><head><script type="text/javascript">function show_prompt(){var name=prompt("Please enter your name","Harry Potter");if (name!=null && name!="") { document.write("Hello " + name + "! How are you today?"); }}</script></head><body> <input type="button" onClick="show_prompt()" value="Show a prompt box" /> </body></html> name!=null && name!="" is included here.Here what is the meaning of null?Here what is the meaning of “”? Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...