Brain Teasers
Brain Teasers Trivia Mentalrobics Games Community
Personal Links
Create a Quiz
Your Favorites
Your Watchlist
Browse Quizzes
All

Entertainment
Geography
History
Hobbies
Humanities
Literature
Movies
Music
Nature
Other
People
Religion
Science
Sports
Technology
Television

Random
Daily Quizzes
Search Quizzes

Advanced Search
Add to Google delicious Add to del.icio.us

More ways to get Braingle...
rss

JavaScript II

JavaScript can be used for dynamic effects, form validation, and more. Do you really know the scripting language used on almost every web site today?


 

Quiz ID:#8883
Fun:** (1.95)
Difficulty:*** (2.52)
Category:Technology > Internet
Created By:chiliwormeater4*

 

 

 



#1   JavaScript can be included in an HTML document or an external document. What code do I have to add to the script tag to link to an external document?






#2   What is the function used to write content to the screen?






#3   JavaScript allows you to write your own functions. What is the proper way to write a function?






#4   With JavaScript, you can make a link to print the page. What is the proper function to print a page?






#5   With JavaScript, I can change the text that appears in the status bar of the browser. What function would I use to make the browser say, "hello" on the status bar?






#6   JavaScript uses variables to store information that can be used later. Which of the following would be best to use as a variable?







#7   With a simple JavaScript, I can change elements of a form. How would I change the caption of a button, by clicking another button?






#8   If I want to display some information to the user without writing it to the page, I can use the alert function. How can I make the alert box appear when the page loads?






#9   What is the JavaScript event for performing an action when the page closes?

Your Answer: (Show Hint)

#10   JavaScript can be used to redirect users based on screen resolution.




 

 


   



Comments


You cannot read or post comments until you complete the quiz.

Back to Top



Online Now: 21 users and 662 guests

Copyright © 1999-2014 | Updates | FAQ | RSS | Widgets | Links | Green | Subscribe | Contact | Privacy | Conditions | Advertise

Custom Search





Sign In A Create a free account