active-worker Posted April 10, 2013 Share Posted April 10, 2013 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 More sharing options...
jeffman Posted April 10, 2013 Share Posted April 10, 2013 Please do the JavaScript Tutorial and come back with questions the tutorial doesn't answer. Link to comment Share on other sites More sharing options...
active-worker Posted April 11, 2013 Author Share Posted April 11, 2013 Hi Deirdre's Dad, Thank you so much for your response.I am happy to say that your answers help me a lot.I hope you will help me in future again.Thank you again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now