@viemmsakh Watch the next video document.ready, it basically means that everything is loaded. Your program may have been trying to run js commands before all the js was loaded.
using external js file is slower I think ??? because the browser will request each time the js file and download it, which takes a bit more of time (ressource on both the browser, and the server) than if it was already there on the page..
@TheLandFerry yes you can. the php extension is used just in case he wants to use php within the file so that the browser knows to look for php elements within the file, he is not actually using php he is using html.
thanks for this one. In the office that i'm working, we always mixed html, php, and javascript all together, making it a mess to read and debug. Now i will try to separate them if possible
Notepad++ FTW
Ctrl+D = duplicate line
Deadwolf9494 4 weeks ago in playlist jQuery Tutorials Playlist
This has been flagged as spam show
@Deadwolf9494 i'll duplicate that comment:
Notepad++ FTW
Ctrl+D = duplicate line
BOOM
letsgomavs972 2 weeks ago
blah blah blah!
phgh1520 1 month ago
Um, I tried that in Visual Studio with asp.net, and it didn't work
Jrpatsios 1 month ago
@Jrpatsios Wich browser do you use?
nietzsche011 1 month ago
thnx
The1Obito 3 months ago in playlist More videos from thenewboston
The only way I can get your examples to work is if I encase the JS code in the .js files with
$(document).ready(function(){
});
Care to elaborate as to why your examples work as they are shown and don't work for everyone else watching the video? I just want to learn.
viemmsakh 3 months ago in playlist jQuery Tutorials Playlist 5
@viemmsakh Watch the next video document.ready, it basically means that everything is loaded. Your program may have been trying to run js commands before all the js was loaded.
alfabdall 3 months ago
those tutorials are the best..
paddy24CEO 3 months ago
this simple code won't work for me, because I put it in hide.js in the header not at the end of the body.
I spend days on it. highly suggest you mention this key point in your class. Thanks!
xushenxin 3 months ago in playlist More videos from thenewboston
Import all your scripts in the header.... not the body
vasterhaninge 4 months ago in playlist jQuery Tutorials Playlist
This isn't working for me. Do i need to have a php site, or will a basic html site work?
locolalo1364 4 months ago in playlist jQuery
@locolalo1364 A basic HTML site will work fine
DevHQLessons 3 months ago in playlist TheNewBoston - jQuery
The code won't make my text hide, I have done it right
text2121 4 months ago in playlist New boston Jquery Playlist
using external js file is slower I think ??? because the browser will request each time the js file and download it, which takes a bit more of time (ressource on both the browser, and the server) than if it was already there on the page..
iRouRoui 5 months ago
@iRouRoui But if you want to use a whole bunch of code, you f*ck your main page up.
MUTORIALS 4 months ago
Correction to my post: It was Duce2411's post not TheDgdsmaster's
pn2865 5 months ago
Correction to TheDgdsmaster's post:
$(document).ready(function { Your code here.}); should read
$(document).ready(function() { Your code here.});
pn2865 5 months ago
I cant't find a good list of all the JQuery tutorials u have, im really interested in learning JQuery.
theMRVproject 6 months ago
sweet tutorial =)
kitezen 6 months ago
@TheDgdsmaster thanx!
hayk7 6 months ago
why do you always including jquery.js in body section, instead of head section?
hayk7 6 months ago
@hayk7 You don't need to put it in the body section, if you put it in the head, just surround your code in
$(document).ready(function { Your code here.
});
Duce2411 6 months ago
@Duce2411 thanx!
hayk7 6 months ago
@hayk7 Sure, feel free to ask me any question, although I'm not the best developer in the world. Far from it :P
Duce2411 6 months ago
Answered nevermind
TheLandFerry 6 months ago
Could you use this in a .htm file instead of using php
TheLandFerry 6 months ago
@TheLandFerry yep
sas1ni69 6 months ago
@TheLandFerry yes you can. the php extension is used just in case he wants to use php within the file so that the browser knows to look for php elements within the file, he is not actually using php he is using html.
VibeClothingLine 6 months ago
hey do you have to use php with jquery or can you use html
hunhun14 6 months ago
@hunhun14 It seems like he is using html inside a php file, so I would assume yes but I am just a beginner in jQuery...
jr5000pwp 6 months ago
@hunhun14 you have not. you can use jquery with .html files too
gdar91 6 months ago
@hunhun14 you can user either php or html. You can also use regular javascript and mysql
LivingSkits 6 months ago
@LivingSkits thanks that is all i needed to know
hunhun14 6 months ago
thanks for this one. In the office that i'm working, we always mixed html, php, and javascript all together, making it a mess to read and debug. Now i will try to separate them if possible
hohoyun 6 months ago
I love these tutorials. Keep it up!
d1995a3 6 months ago
@d1995a3 Bucky is uploading 200 of them right now. So there isn't much more to "keep up" since that's the entire series.
WASDsweden 6 months ago
@WASDsweden I meant the tutorials in general, not just JQuery.
d1995a3 6 months ago
@d1995a3 he has 200 Android apps tutorial yet to upload, Jquery, VB i think and Photoshop i think, there's a vid where he talks about them
xFelicianoX 6 months ago