Added: 11 months ago
From: thenewboston
Views: 17,479
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (36)

Sign In or Sign Up now to post a comment!
  • should be "onclick" instead of "onClick" right ??

  • can you put a form inside a loop ?

  • Have I seen this alert box in another tutorial? I've been through the XHTML videos and these JavaScript so far and I'm almost sure this alert box thing has been taught in a similar way a few videos back there.

  • @leonardotmcosta Ive been through the XHTML videos myself, and i haven't seen any alert boxes on those tutorials, though there has been several videos where he has used alert in the Javascript series.

  • Ohh this is something new :)

  • I tried this handler with select tags and nothing happened. Help anyone?

    Also, I wanted to know what is the statement for redirection. I need a drop-down and I want it to redirect to someplace depending on the user's selection immediately after he clicks on any of the elements.

  • onclick / onClick....it's the same!

  • I want to write " It's " inside alert but it is not allowing me to write " ' " , what to do

  • @Raysyedrocks Try escaping the single quote with a backslash.

  • When I use "document.write" with an onClick attribute, the script runs on a blank page, but with the same u r l.

    Help?

  • @druidofluhn that's because document.write overwrites everything with what you write (in here)

    you can select a div with getElementByID('IDofthediv').d­ocument.write(this in here only overwrites what is in the div. if there isn't anything in the div it only writes this) :)

  • @NikcsTipps Thanks very much!

  • His buttons always say "touch me"... Always!

  • yay i just did onMouseOver & onLoad before the 23. video :P lol

  • html is case insensitive, therefore onClick could be written OnCliCk and it would still work

  • @venkutu92 Xhtml not.

  • @TheRobinNet Javascript 2

  • I love your tuts!

  • @dtntnt ough at first i tough u said tits o.O

  • try scriptly it has a builtin browser to try! and it's works!

  • great, fantastic!

  • I wrote, "something stupid!" in my box.

  • onclick is lower case c :o

  • @Zuberguber105 Yeh its not in javascript its in html ;), its not case sensitive

  • Your javascript program is sexually aroused

  • Uh, actually, the "c" in "onclick" has to be lower-case because you're using XHTML. This would not validate. XHTML is all lower-case, HTML is not.

  • @Kryppuk Yep, I was just about to say that one must ensure that the "c" in onclick is NOT be capitalized (for the reason you stated)! Just the opposite of what Bucky says LOL

    Nevertheless, these are excellent tutorials.

  • this is what i wanted to learn =)

  • haha i can't handle these good tutorials :P

  • Why was the other one uploaded first?

  • @SuperZombieRights thats just how bucky rolls

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more