What does it mean if I'm not getting the "goodbye" pop- up ? I triple checked it and it works fine with onLoad but when I switch to onUnload it doesn't work . I also went into the browser and turned off pop-up blocker but its still not working though..
Same here with Chrome, the onUnload does nothing. I even made a link to another page, but the unload alert will not pop up. I'm thinking it's a chrome anti-pop-up thing.
@bulceus I was never planing to buy some paper shit. I know that on This Planet, there are samo good people who like to show something. And bucky is a heck of a man !!!
@bulceus Dude I'm learning more than reading that stupid ass tutorial I bought for 70-bucks including that stupid ass book I borrowed from the library. This is why I love the internet free education.
well, for me it doesnt work, i mean...if i close the tab or refresh, the onunload(alert) works, AFTER losing. But if i close the window ( just like u, in the red X top right), it doesnt work...any tips? :(
well, for me it doesnt work, i mean...if i close the tab or refresh, the onunload(alert) works, AFTER losing. But if i close the window ( just like u, in the red X top right), it doesnt work...any tips? :(
@TutorialKing100 Yes they do, but those same annoying sales websites also pay real money to get their website developed in the first place. So if in the future you find yourself in a position where your latest client is a company that want an annoying sales website. You're good to go :)
@Grkgermn333 JavaScript can only be used with websites and HTML/XHTML etc. Java is a complete programming language just like C++ where you can makes games, programs etc.
Again, as in the other video, you have to type "onclick", "onload", "onmouseover" etc. in lower-case because you're using XHTML - otherwise it would not validate. XHTML is all lower-case, HTML is not.
That's the attribute youtube should add to their dislike button for Bucky's videos: onMouseOver="alert('Noooooooo!!!!!!!!');"
Blacklight6000 1 week ago 4
This is just getting Better and better !!!
robbynAR23 2 weeks ago
Ok didn't work with chrome or IE ...but finally the onUnload worked with firefox!
KuDeGrasBonVoyage 3 weeks ago in playlist JavaScript Tutorials Playlist
What does it mean if I'm not getting the "goodbye" pop- up ? I triple checked it and it works fine with onLoad but when I switch to onUnload it doesn't work . I also went into the browser and turned off pop-up blocker but its still not working though..
KuDeGrasBonVoyage 3 weeks ago in playlist JavaScript Tutorials Playlist
can it be combine?! the onLoad and onUnLoad effect??
Glatium 3 weeks ago
Same here with Chrome, the onUnload does nothing. I even made a link to another page, but the unload alert will not pop up. I'm thinking it's a chrome anti-pop-up thing.
slandshark 1 month ago in playlist JavaScript Tutorials Playlist
this is so confusing... in unity its onmouseenter and im used to that
Telladriel 1 month ago
cant get onLoad to work in any browser
captlightyear 1 month ago in playlist Beginner JavaScript Tutorials Playlist
mother would rather me watching tv then doing this. "STOP PLAYING VIDEO GAMES" says mother. ffffffffffffffff
14koder 2 months ago in playlist Beginner JavaScript Tutorials Playlist
onLoad And onUnload Doesn't Work On Google Chrome
pawelweb1 2 months ago
@pawelweb1
On my chrome onLoad works, onUnload don't.
grabonis 1 month ago 2
@grabonis so that porn websites can't keep you long enough to get caught jerking. be thankful to google :D
Simonmodule 3 weeks ago in playlist JavaScript Tutorials Playlist
Comment removed
pawelweb1 2 months ago
same here. onUnload does not work on chrome.
ovidiub13 3 months ago
@ovidiub13 same for me xD
i was like god damn am bad at this
i guess chrome thinks its some kind of spam
unknowdud3 3 months ago
onUnload does not work for me in Chrome! I wrote everything EXACTLY as Bucky did, what is going on?
iDJFlaco 3 months ago
Hi, the onUnload works on my IE but not on my Firefox, what to do?
mlsdd 4 months ago
@mlsdd Hm.. me too! It does not work for me on Chrome, but it does on IE. Weird,
iDJFlaco 3 months ago
@mlsdd Works fine in Firefox. Verify your syntax.
victorianum 3 months ago
Thumbs up if Bucky is better than your 1000 page text book!
bulceus 4 months ago in playlist Beginner JavaScript Tutorials Playlist 57
@bulceus I was never planing to buy some paper shit. I know that on This Planet, there are samo good people who like to show something. And bucky is a heck of a man !!!
vilivan1 1 month ago in playlist JavaScript Tutorials Playlist
@bulceus Dude I'm learning more than reading that stupid ass tutorial I bought for 70-bucks including that stupid ass book I borrowed from the library. This is why I love the internet free education.
OfficialJerla 3 weeks ago
This has been flagged as spam show
well, for me it doesnt work, i mean...if i close the tab or refresh, the onunload(alert) works, AFTER losing. But if i close the window ( just like u, in the red X top right), it doesnt work...any tips? :(
coladomestre 5 months ago
well, for me it doesnt work, i mean...if i close the tab or refresh, the onunload(alert) works, AFTER losing. But if i close the window ( just like u, in the red X top right), it doesnt work...any tips? :(
coladomestre 5 months ago
I've watched all 23 so far and my eyes are starting to bug out.
bballer13snTV 6 months ago
i thought it doesent matter if the onMouseOver is capitalized or not...
EkingRDL 7 months ago 8
@EkingRDL in html5, youre not supposed to capitalize it
gejustin 6 months ago
@EkingRDL it works both ways with me
HoboAddiction 1 month ago in playlist Bucky's Beginner JavaScript Tutorial
@HoboAddiction Thats what she said.
MarlinKeim 6 days ago
God bless you Sir
ThePakChina 7 months ago
[whisper]I'll miss you[/whisper]
MrPwnzorrosco 7 months ago
superb bucky wow!
FOGTALK 8 months ago
y do u need it capitalised
SuperHappyvideo 9 months ago in playlist Javascript
@TutorialKing100 Yes they do, but those same annoying sales websites also pay real money to get their website developed in the first place. So if in the future you find yourself in a position where your latest client is a company that want an annoying sales website. You're good to go :)
GamingJediPwns 11 months ago
Try looping an alert box with onUnLoad :D
TheScars75 11 months ago
Just don't put an apostrophe in the middle of you quote like it did. That messes everything up.
Thank's again for all you work Bucky! Looking forward to more tutorials! :D
Fbiman93 11 months ago
YES! now I can make a rickrolled website that whenever you try to exit it, the lyrics pop up in alert boxes, 1 verse at a time!! mwahahahaha
Zuberguber105 11 months ago
You don't need to camel case the attribute names Bucky
You forgot to mention the more advanced but better way to add events to elements with JavaScript;
Paragraphtag.onmouseover = function { ....
}
megametalpriest 11 months ago
@megametalpriest well actually i'd like to see him talk about Event Listeners.
Stuff like:
element.addEventListener("click", function(){
// Code
}, false);
syn2142 8 months ago
You made me understand thanks again that even makes more sense then my professor
MrDadcard 11 months ago
whats the difference between Java and JavaScript? Please answer!!
Grkgermn333 11 months ago
@Grkgermn333 Everything, the only thing that is somewhat alike is the syntax...
Zortje9 11 months ago
@Grkgermn333 JavaScript can only be used with websites and HTML/XHTML etc. Java is a complete programming language just like C++ where you can makes games, programs etc.
Jonte135 11 months ago
Again, as in the other video, you have to type "onclick", "onload", "onmouseover" etc. in lower-case because you're using XHTML - otherwise it would not validate. XHTML is all lower-case, HTML is not.
Kryppuk 11 months ago
BUCKY PLEASE DO SOME MORE ADVANCED PHP
joyceww3 11 months ago
Are you going to teach us some java, when you hava finished JavaScript ? Would be extremely awesome.
suernoep 11 months ago
@suernoep He did java tutorials...
MinDControlDx 11 months ago
Use lowercase mate..
kidel3 11 months ago
this wrong, this right, this right, this wrong...PERFECT!:D
VV0lfdalE 11 months ago
Awesome videos, Bucky! Keep it up!
garrettslc 11 months ago
damn i hate unload with allerts
marcusrehn 11 months ago
As usual mate, you the man.
blackularZ 11 months ago
Sick bucky you make videos so fast that my list can be filled in some minutes ^^
Joddy12 11 months ago
How to make different alert boxes like question or error ect.?
jorankk 11 months ago
First
Mrxb0x 11 months ago
@Mrxb0x dont care
vibol03 11 months ago
First.
inmonkeyness 11 months ago
@inmonkeyness dont care
vibol03 11 months ago
@vibol03 No.
First.
inmonkeyness 11 months ago
First
sk8t3rforever 11 months ago
This has been flagged as spam show
@sk8t3rforever dont care
vibol03 11 months ago
Did you know stick's are an animal
GamerZii 11 months ago
nice one bucky!
ilikechess1 11 months ago