Jump to content

Search the Community

Showing results for tags 'easy question'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. ronald

    step zero js

    hello, i tried to build a very simple function, and i failed allready. dissapointing. I can not find where i went wrong. plz help me. button 1: it should change the wordt "haai" to "yoyo" and then to "hallo". it does change haai to yoyo, but not beyond. button 2: it should change color (it does, so works fine). regards, ronald <script> function hello() { var x = document.getElementById("hey"); if(x = "haai"){ var y = "yoyo"; }else{ var y = "hallo"; } document.getElementById("hey").innerHTML = y; } function red(){ document.getElementById("hey").style.color = "red"; } </script> <button onClick="hello()">click me</button> <button onClick="red()">click me</button> <p id="hey">haai</p>
×
×
  • Create New...