Added: 3 years ago
From: thenewboston
Views: 29,764
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (57)

Sign In or Sign Up now to post a comment!
  • this guys tutorials are the best and he's friggin hillarious

  • "...make sure its inside your body and not your head"

  • but how do you get text on a button? like on an alarm box, like yes or no options?

  • @LordShiding You gotta use an if :D

    like so

    var confirm=confirm("Are you sure you want to procceed ?");

    if(confirm==true){

    alert("You pressed yes/ok")

    }

    else{

    alert("Your pressed no/cancel")

    }

    }

  • @Kyuunul when working with booleans, an easier way is to simply write "if (confirm)" and "if (!confirm)". The former checks if the boolean exists and/or is defined positively. The latter checks if the boolean doesn't exist (undefined/null) or is defined negatively

  • You are a GOD!!!

  • It is normally better to call a predefined function from the event listener, especially if it calls more than one line.

  • dude, ur tutorials are OUTSTANDING !!!!!!!

  • Comment removed

  • Comment removed

  • If you want to click the butten more than once add "return" :)

  • the quotations are such a mess.thanks 4 pointin out the error.

  • After I click the button it disappears plz help

  • i always thought your name was bob for some reason XD

  • I already know this :D BTW You can import your buttons!

  • How do you repeat the button? I put in a function for onClick but after clicking it once, the button disappears...

  • very cool! Thanks: good job pointing out the string issues quotation marks inside qotation marks....subscribed

  • Your name is bucky????

    just wondering xD

  • onClick=alert("test") works fine

  • wheres altq2001.. say thank you to bucky. he made your request!

  • LOL I'm gonna puh in a basic inpuh buhon. Get it.

  • I want to clear a cookie if the host clicks my button but I need help doing that, do I just recall the cookie but tell it expire days to 0 or null or have an assasin come onto your computer and delete the file???!?!?!?!?!!?!?!?!?!?!

  • do this, computer!

    baaad computer!

  • Thanks u, nice tutorial

  • you truly are doing a good job....

  • can someone tell me, how to read from a textbox ?

  • I wanna have a tuto on how to make a rocket. so i can fly to the moon!

    a real one, ffcourse!!

  • @XRaYNL Well I can make a self destruct button =D

  • @PJSkitszels Hmm, That will do as well...

    If i stuff the surrounding full with explosives, i'll get blasted to the moon anyway.

  • @XRaYNL Hahah Good thinking

  • bucky?? upgraded to vista??? shame on you....I expected more from a great teacher lmao

  • i see you upgraded your OS........ thats pretty fresh

  • You're Good Teacher. Now i'm working with javascript very easyly

  • If you put value="I'm a button" after the onclick the button will have a name.

  • @pepparn123 DUHHH!

  • @kennysc12

    That was one year ago -.- I'm better now lol :P

  • @pepparn123

    before the onClick and it will work

  • @pepparn123 it can be anywhere. It's actually easier to just put < button instead of < input

  • Is your website under construction?

  • how do you make it so that if you have a certain radio button checked to pop up a window saying you have(this certain) radio button checked? like

    Dell:()

    Hp: ()

    Toshiba ()

    [Submit!]

    and you have dell checked make it say "You Like Dells."

    or something like that.

  • you would have to setup an observer that calls a function when a radio button is clicked, and that function would alert the value of the object.

  • I like your voice.

  • @TinCanOwnage He does have a calming voice.

  • Would you please do a video on unobtrusive js? Thanks.

  • script?

  • con*

  • mmmmm pero esto es html... mmm se puede utilizar java?

  • it does work without ";" at the end.

  • hey u got vista!

  • you got a vista

    value ="text here"

    put that^ in the buttons script to name it

  • Thanks Rat, I was wondering why he used window.alert

    =)

  • because it's smarter to teach newbies the right way to do it...

  • more liek thiss

  • we need more stuff like that :) Great job !

  • Tutorials that cover some stuff thats a little more advanced

  • if you dont learn basics youll kill yourself trying to learn the advanced stuff

  • please do more javascript tutorials.

Loading...
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