Javascript Basics (1-8)

Card Set Information

Author:
dalbabes
ID:
59642
Filename:
Javascript Basics (1-8)
Updated:
2012-07-26 12:41:32
Tags:
javascript
Folders:

Description:
javascript
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user dalbabes on FreezingBlue Flashcards. What would you like to do?


  1. A javascript called by a link
    <a href="javascript:rollon()">
  2. Pop an alert with
    window.alert()
  3. Find an object someText and change a style to it.
    function changeBackground(){ document.getElementById("someText").style.backgroundColor = "blue"}
  4. difference between comparing and assigning
    • compare is ==
    • assign is =
  5. alter some specific style of the element "bob"
    var someText = document.getElementById("bob").style.top

What would you like to do?

Home > Flashcards > Print Preview