www.webdeveloper.com

Search:

Type: Posts; User: brucewayne

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,626

    Now what if..

    Now, I don't understand all that window.onload code. So, to make it simpler for me, I'd like to use butttons.

    HTML:

    <img src="www.google.com" alt="picture"/>
    <input type="button"...
  2. Replies
    6
    Views
    1,626

    Why doesn't my getAttribute work ?

    <html>
    <head>
    <script type="text/javascript>
    var a = document.getElementsByTagName("img").getAttribute("src");
    alert(a);
    </script>
    <body>
    <img src="www.google.com" alt="picture"/>
    </body>...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles