Thanks for this excellent tutorial. You are a very talented teacher and presenter. Respect! I'm yet to try it out but very excited to get this integrated in to my website... posting forms is so 18th century ;-)
Alex, I just tried the sample you have in your video and I couldn't get it to work. Any ideas on why. I have the same thing you have in your code. I checked it over and over again and I can't figure out why it doesn't work
When the get button is pressed the text is removed from the text field and the page is reloaded.But no output is received from data.php.Please help me out.I think Xampp is not configured properly.If there is any setting please tell me.I am having problems.When get button is pressed with name ALEX index.php with name=ALEX is loaded again but no output is received from data.php
When the get button is pressed the text is removed from the text field and the page is reloaded.But no output is received from data.php.Please help me out.
nice tutorial... one question.. what do you do if you have two fields or more in your form.. how do you transfer two or more variables to the data.php for example???
i try the tutorial, show() can't do anything so i check website then change to text(); then it able to display, but still 1 probelm, output doesn't work, and i check website, they say , use data, but still doesn't work. :(
I really got benefit from your tutorial, but I need to know how to control the out put, if I have more than output variable affect more than one div, how could I manage this
if using jquery, you should not be using the onClick() within the html content, jquery emphasies seperation of presentation and behaviour, better is to give the button an id and use the jquery selector to write a click event for it
Thanks mate. Lots of useful info. I was making my forms validation, checking if the name exists and stuff without refreshing the page, and it is chaotic! Your tutorial will help me fix it up a bit. ;( thanks again.
Great video, had some trouble though about passing through the variables to the php doc, it only seemed to work when the form name was form. But again nice video :)
I am running IE 8. When I click the "get" button nothing happens.
I did everthing word for word (up to time stamp 13:15 & 14:15) I downloaded the latest jquery-1.6.2.min.js from the Jquery website. I did not change its name to jquery in the script section.
I have a form with some text inputs, but I also have a input type’file'
which I’m trying to pass to data.php along with the text inputs so I can process everything there. I see that you use $.post to pass a text input, but is there a way to pass an input ‘file’and the get its values (name, size…) to validate it in data.php
This works great so long you're not pressing enter while in text field, 'cus that will make the form submit php-wise, use this code to disable it: $("form").submit(function(event){ event.preventDefault(); return false; });
how are you going to create variables with the same name, and then try and teach someone else. If you created different name variables, you wouldn't have to keep saying "This `heire`, is the same as this `heire`, and it not the same as this `heire`".
When you enter text into the field and press enter it does not trigger the javascript function, but the text is removed from the field. Do you know how to disable that or cause either the button click or the user pressing enter on their keyboard to both trigger the javascript function?
i followed you, however, it is advisable to use different value names for each tag attributes which is not the same as the HTML TAG itself. Like for example FORM TAG with NAME attribute should not be named "Form" instead use "form1". So that whenever you wish to call it in jQuery function, it could easily be recognized that the one you typed in the function calls the attribute name value, not the TAG. ex : varFromTextbox: form1.name1.value in jQuery script. Still, your lesson is helpful.
Hi all, please help-) I want to get my php codes not from a different file, but from the same file, cause all my corefiles are located in that specific file
Thanks a lot!! just an advice.. It was not a problem for me, but some people may have problems with the not-so-much-difference names between variables.. as you named "database" the database.. or "name" so much times.. Anyway, I want to thank you because I found this tutorial really helpful! I'm following you!
im getting nuthing when i click and i followed your instructions exactly , but im trying to process dynamic data from a database in a select menu to display another select menu with dynamic data ex. state--> city--> .... im using dynamic states and dynamic cities.. love your tuts ! please help
This is a great tutorial, and I'm certainly going to subscribe to your channel. By the way I had to rewrite your function (with the combined help of comments on here.
I'm running Firefox Beta 4.0 and neither of the individual comments worked; however when I combined them, I got them to work; so in case anyone else is looking for the solution to the firefox problem; here's the full function re-written:
Good tutorial except that you're teaching us to write wrong code. This code won't work in Firefox 4 if you're haveing a doctype declared which you absolutely should have.
To solve the "form is undefined" problem you should type the code in the correct way:
I had some problems with this in Firefox 4, apparently it tells me that the name of the form is not defined, tried to give the form an ID but still no good. tool me a while till I switched to Chrome and saw that it worked
man! your videos are awesome! english is not my first language and I have some problems with the british accent, but your pronuntiation and your voice is so clear!
and the way you introduce everyone to new techonlogies is just perfect!
this is great... there is a small problem (in ff3 opera chrome -- ie loads fine) form is not defined... so if you replace { name: form.name.value } with { name: $('form[name=form] input[name=name]').value } it should load just fine.
A very nice tutorial. I wish, though (as I know you wish also) that you would have been more careful in using "name", and "get" for the confusion of usual syntax with "post", "get", "form", "name" which makes it more difficult to understand. Figuring it out, though, can be a good way to "get it". Thanks!
hi alex... all this work nw properly... its a great thing... its dump on database empty if i dnt write anything.. will plz help to provide check before dump form validation ... plz /..tq
thanks ... its a nice tutorial ... i try same code .. with jQuery JavaScript Library v1.4.4 .. every thing is working nice bt except fadeIn(1000), im using IE8, will you plz advice me why?
fantastic video,i've watched a few of yours, they are really good. maybe if the level becomes slightly higher then the learner will have sth more to challenge and learn more. again thanks for the effor.
you are the best dear.......your tutorials are best on the net......i always found useful and everytime the code runs perfectly......thanks a tonn......
...found this tutorial useful and was a great help for us beginners on starting up simple ajax and php scripting. thanks for this video, got more motivated on building up my personal site. :)
After spending long hours messing up with ajax forms without any success, i found your tutorial and finally solved my code problems. Thanks a lot for taking your time to upload this, Alex. Cheers.
@phpacademy Hey man great tutorials as always. I'm just figuring out, how can you send multiple objects from php file to the jquery file? In the php file i convert the array to a json_encode string. any tips? how i can retrieve them back in jquery?
There are two php files: country.php and state.php.
Country .php has country list fetched from database and state.php has state list fetched/retrieved from state.php. Through echo "select" and echo"option" method.
How to write a AJAX code so that when user click any country from drop down menu state drop down menu for that country populates again in drop down menu, which was previously not present. without th entire page getting refreshed...
One thing I noticed was that you did form.name.value. With the jQuery library, you work with objects and events. So instead of saying form.name.value, what you could have done was give your name box an id of name and said $("#name").val() which would be more jQuery friendly.
Thanks for this excellent tutorial. You are a very talented teacher and presenter. Respect! I'm yet to try it out but very excited to get this integrated in to my website... posting forms is so 18th century ;-)
mikeyo1234 1 day ago
Can you upload a tutorial jQuery Inline-editing? I really appreciate such type of tutorial.
Thanks
angarkhola 1 day ago
Alex, I just tried the sample you have in your video and I couldn't get it to work. Any ideas on why. I have the same thing you have in your code. I checked it over and over again and I can't figure out why it doesn't work
iceman11a 2 days ago
This has been flagged as spam show
When the get button is pressed the text is removed from the text field and the page is reloaded.But no output is received from data.php.Please help me out.I think Xampp is not configured properly.If there is any setting please tell me.I am having problems.When get button is pressed with name ALEX index.php with name=ALEX is loaded again but no output is received from data.php
mkgahmed27 1 week ago
When the get button is pressed the text is removed from the text field and the page is reloaded.But no output is received from data.php.Please help me out.
mkgahmed27 1 week ago
hammmer tutorial. Das brauchte ich :D Vielen Dank, Super gemacht. Alles kapiert :D
cooolebaba 1 week ago
If I become a millionaire, I am going to pay about £4,000 to Alex. :D
Rawaz1995 1 week ago
@Rawaz1995 or more than £100,000 :D
Rawaz1995 1 week ago
good job
TheAsuslive 1 week ago
Comment removed
TheAsuslive 1 week ago
Beautiful ... thank you Alex
MistoKurdish 2 weeks ago in playlist jQuery
~Thanks for the tutorial.
zeroprobe2k6 2 weeks ago in playlist Favorite videos
nice tutorial... one question.. what do you do if you have two fields or more in your form.. how do you transfer two or more variables to the data.php for example???
Schuey04 1 month ago
Excellent work, excellent way to guide... Thanks a lot
Samiakram1 1 month ago
Great tuts!!!! keep posting!!! :)
tirumalraot 1 month ago
Comment removed
tirumalraot 1 month ago
Absolutely great, thanks so much!
Rob0Anybody 1 month ago
is form.name.value better in any way than using document.getElementById or is it just preference?
YZpilot736 1 month ago in playlist jQuery
wonderful lesson. I finally understood some fine details. Thank you for this fine tutorial :)
Could you please do a tut on the php aspect of AJAX functinality (including tips for better coding?)
MeMyselfAndDie 1 month ago
thank you for this lesson...do you know how to insert the plugins in the database?
chavz4new 1 month ago
Thank you very much Alex, great tutorial as always :)
dbzssjgohan 1 month ago
i try the tutorial, show() can't do anything so i check website then change to text(); then it able to display, but still 1 probelm, output doesn't work, and i check website, they say , use data, but still doesn't work. :(
yeongning 1 month ago
great tuts alex....
kckenj 1 month ago
I really got benefit from your tutorial, but I need to know how to control the out put, if I have more than output variable affect more than one div, how could I manage this
newybocktor 1 month ago
Outstanding Tutorial!
Keep up the great work. You are a real pro!
PeterWright88 1 month ago
it doesn't work for me? is it because i'am using Navicat mysql?
kithslither 1 month ago
This is not working with me. Plz make another tutorial so that i can insert data to mysql and then fetch it too.
Subhra645 1 month ago
Does this work in IE for anyone?
smith1302 2 months ago
Simple, clear and useful. Thanks, man. It helped a lot!!
imjc 2 months ago
tks a lot man!!
assphucker 2 months ago
awsome dude
faizansidq 2 months ago
Congratulations this tutorial is very helpful...
OrgoglioBarese 2 months ago
This was a simply fantastic tutorial
linesinthesand 2 months ago
very nice I started my first code of jquery using this.. will watch other videos and see how it goes.. keep it up..
balajior 3 months ago
if using jquery, you should not be using the onClick() within the html content, jquery emphasies seperation of presentation and behaviour, better is to give the button an id and use the jquery selector to write a click event for it
mscott3564 3 months ago
Thanks, nice tutorial. You've just earned my sub.
TheRealGeriBoss 3 months ago
Thanks mate. Lots of useful info. I was making my forms validation, checking if the name exists and stuff without refreshing the page, and it is chaotic! Your tutorial will help me fix it up a bit. ;( thanks again.
evilproPL 3 months ago
I like the way you discuss this tutorial. It is very informative. This is exactly what I am looking for. Thank you! Keep it up!
vhinkaye 3 months ago
Hi , how can I do the same thing, but instead of clicking on the button
I click on an image to get some text from my Database according to what I want ??
Sumuwilla 4 months ago
@Sumuwilla Make the image submit the form data upon click
DPagliarulo 4 months ago
Great video, had some trouble though about passing through the variables to the php doc, it only seemed to work when the form name was form. But again nice video :)
ruthwijma 4 months ago
Comment removed
ruthwijma 4 months ago
This has been flagged as spam show
A really good and professional tutorial.
Thanks !
borismilner 4 months ago
Comment removed
borismilner 4 months ago
Muy buen aporte muchas gracias...
albertolopezdearma 5 months ago
Please close your single tags with />!! Grr! :D
MutedThunder 5 months ago
what if we have to POST multiple variables?
aalamnaryab 5 months ago
@aalamnaryab Use a comma, example: name: document.form.name.value, email:document.form.email.value, etc....
vazqjose 5 months ago
@vazqjose thank you
but i m unable to even post age
i think i hv something wrong with jquery.js file
aalamnaryab 5 months ago
@aalamnaryab i added an email field and textbox to post too. Now that you can do that you can get back anything you want.
vazqjose 5 months ago
Typo.
I got it working.
Thank you
harjdusanjh 5 months ago
I am running IE 8. When I click the "get" button nothing happens.
I did everthing word for word (up to time stamp 13:15 & 14:15) I downloaded the latest jquery-1.6.2.min.js from the Jquery website. I did not change its name to jquery in the script section.
harjdusanjh 5 months ago
congratulations
kkatsavaros 5 months ago
Please send the link to the code Thanks
puaflatmates 6 months ago
crazy good! thnx!
hal7mar 6 months ago
ok i have a question... i built my web site from a bunch of a php incude functions.. and jquery ajax doesnt execute include file.. what should i do?
r4jk3 6 months ago
source code?
RBatteate 6 months ago
good
webageteam 6 months ago
Excellent tutorial. I wish more of these step-by-step simple walkthroughs were available. Thanks.
sdavidnowlin 6 months ago
Just what I needed, thanks a lot!
fishbaitfood 6 months ago
This has been flagged as spam show
you contact me at cruzbaggio@gmail.com
Thanks!!
cruzbaggio 6 months ago
Hello, Great Tutorial!
I was wondering if you know to do this:
I have a form with some text inputs, but I also have a input type’file'
which I’m trying to pass to data.php along with the text inputs so I can process everything there. I see that you use $.post to pass a text input, but is there a way to pass an input ‘file’and the get its values (name, size…) to validate it in data.php
Any help will be appreciated, Thanks so much!
cruzbaggio 6 months ago
thanks you very much ;)
aisza1975 6 months ago
It doesnt work!!! I dont know Y!!!
rohitbellary 6 months ago
@rohitbellary
If you're using firefox, instead of form.name.value use document.form.name.value
SlobodanV1984 6 months ago
@rohitbellary
add document to:
form.name.value
so it looks like this:
document.form.name.value
puaflatmates 6 months ago
thank's dude!
Kmil0000 6 months ago 2
This works great so long you're not pressing enter while in text field, 'cus that will make the form submit php-wise, use this code to disable it: $("form").submit(function(event){ event.preventDefault(); return false; });
openLund 6 months ago
@openLund where do I put the
"$("form").submit(function(event){ event.preventDefault(); return false; });" code at?
RBatteate 6 months ago
@openLund where do I put the code?
crazydhakaiya 2 months ago
how are you going to create variables with the same name, and then try and teach someone else. If you created different name variables, you wouldn't have to keep saying "This `heire`, is the same as this `heire`, and it not the same as this `heire`".
wpriester66 7 months ago
When you enter text into the field and press enter it does not trigger the javascript function, but the text is removed from the field. Do you know how to disable that or cause either the button click or the user pressing enter on their keyboard to both trigger the javascript function?
psmooth777 7 months ago 9
@psmooth777 I suggest you to change input type="submit" to input type="button" in your form
usmandiaye 1 month ago
@psmooth777 Try including an onKeydown Event in the submit button...and placing the get(); inside..
slytherin9090 1 month ago
Great !!! I have no words to thank you for this, really... so clear !!!
LONCHOPOS1 7 months ago
Amazing stuff !!!
saaajjkdjkd12 7 months ago
exelent tutorial.
AnwarSubhi 7 months ago
for those who say it doesnt work in firefox: instead of form.name.value use document.form.name.value. this should fix it, it worked me, atleast.
bandre0917 7 months ago 21
@bandre0917 thanx a lot
Pronspot 6 months ago
Thanks man, I was pissed off why it wasn't working, I was looking the code over and over again and I couldn't realize what was wrong :) lol.
Thank again. Now it works
SlobodanV1984 6 months ago
@bandre0917 Thanks!
mtbabels 2 months ago in playlist javascript
@bandre0917 thanks a lot :)
lacipuff 1 month ago
you are great.. thanks
myBadview 7 months ago
i followed you, however, it is advisable to use different value names for each tag attributes which is not the same as the HTML TAG itself. Like for example FORM TAG with NAME attribute should not be named "Form" instead use "form1". So that whenever you wish to call it in jQuery function, it could easily be recognized that the one you typed in the function calls the attribute name value, not the TAG. ex : varFromTextbox: form1.name1.value in jQuery script. Still, your lesson is helpful.
vidz022 7 months ago
This has been flagged as spam show
Thanks alex, My personal thanks in a video for phpacademy!
watch?v=DTSooY8fqpw
SilverMagics 7 months ago
Comment removed
jepipay 7 months ago
Thanks for Pharmaceutical video. It is for me to useful.
flowewritharoma 7 months ago
This isn't working in mozilla could someone please help
frahaan 7 months ago
im still stuck having jquery problems its not as simple as php sorry .....
YoungNateDaGreat 7 months ago in playlist jQuery - PHP Academy
Hi all, please help-) I want to get my php codes not from a different file, but from the same file, cause all my corefiles are located in that specific file
tomuman 7 months ago
greate tutorial. tnx. it helped me.
bboranist 8 months ago in playlist JQuery Tutorial
Doesn't work in firefox =(
extrangeho21 8 months ago
Thanks a lot!! just an advice.. It was not a problem for me, but some people may have problems with the not-so-much-difference names between variables.. as you named "database" the database.. or "name" so much times.. Anyway, I want to thank you because I found this tutorial really helpful! I'm following you!
maxfocusdotnet 8 months ago
//////////////
Hattlen 8 months ago
where can i find the source code?
Hattlen 8 months ago
it doesn´t work in FIREFOX i need your help
Ramajual 8 months ago
the code does not work in firefox plz help
janebbdou06 9 months ago
You are the best! Thank you a LOT! :)
spchamal 9 months ago
that's very informative ..
azizans 9 months ago
its not working fml
flutep 9 months ago
thanks
zarkmeher 9 months ago
THESE VIDEOS PWN EVERYTHING ON THE WEB
GJ PHPACADEMY
schumibr1 9 months ago in playlist PHP TUTORIALS: jQuery
Waw, nice technique... I'll practice it also keep watch this channel (phpacademy) :D
Regard from Indonesia . . .
fuadfauzi 9 months ago
Very useful .... thank you very much ... :x
FreakyMotion 9 months ago
Great tutorial but my question is how to apply the same search with same effect by clicking on enter key from the keyboard??
nizarorama 10 months ago
im getting nuthing when i click and i followed your instructions exactly , but im trying to process dynamic data from a database in a select menu to display another select menu with dynamic data ex. state--> city--> .... im using dynamic states and dynamic cities.. love your tuts ! please help
Younnateandsnakes 10 months ago
good job Alex! Can you tell me how to make it working when I m pressing the Enter key ? Because it is only working with the mouse-click. Thanks!
montelomanis 10 months ago
Nice tutorial. Well explained and works
uldtot 10 months ago
What a TERRIFIC Tutorial!! Thanks a LOT as I found this Tut extremely useful!
RockstahRolln 10 months ago
it doesnt work when i hit enter
yonoytuunoodos 10 months ago
so this here, is here and its inside here, so here is output from here. Remember that this here, which is here, is here. :D
snupiix 10 months ago
This is a great tutorial, and I'm certainly going to subscribe to your channel. By the way I had to rewrite your function (with the combined help of comments on here.
I'm running Firefox Beta 4.0 and neither of the individual comments worked; however when I combined them, I got them to work; so in case anyone else is looking for the solution to the firefox problem; here's the full function re-written:
$.post('data.php', { name: $('form[name=form] input[name=name]').val() },
Good luck
MrPampas2 10 months ago
@MrPampas2
Thnks loadss
janebbdou06 9 months ago
how to clear the result after search because i have the first name of client database display always. I have used wildcard "%$username%"
janebbdou06 10 months ago
great work. simple and to the point.
clickatron 10 months ago
Good tutorial except that you're teaching us to write wrong code. This code won't work in Firefox 4 if you're haveing a doctype declared which you absolutely should have.
To solve the "form is undefined" problem you should type the code in the correct way:
$.post('data.php', {name:$("#form").find("input[name=name]").val()},
Timzorize 10 months ago
Thanks for this video man. Keep up the good work.
scion3713 10 months ago
Great Tutorial ... However the code doesn't run on Firefox 4 !?? Does anyone know how to fix that !??
smartmo21 10 months ago
I had some problems with this in Firefox 4, apparently it tells me that the name of the form is not defined, tried to give the form an ID but still no good. tool me a while till I switched to Chrome and saw that it worked
Itaysid 11 months ago
I'm just curious but is it posebel to use this for a search enging with link, decription and other data?
Greate tuu tho^^
IJustPostOnYou 11 months ago
@IJustPostOnYou Hey there am having same project ,i have to create a website search engine,i have to adapt lucene or solr for my university website
is there any thing u did or u suggest me to do if u are advanced in it
brahimouvic88 11 months ago
@brahimouvic88 I'm sorry i havent tryet it yet xD
But i can try makeing it^^
Try send me a PM message on my channle with your email in it, if i sucseed i'll send you the source code^^
IJustPostOnYou 11 months ago
man! your videos are awesome! english is not my first language and I have some problems with the british accent, but your pronuntiation and your voice is so clear!
and the way you introduce everyone to new techonlogies is just perfect!
elboru13 11 months ago
Excellent tutorial!
Askmegabe 11 months ago
great tutorial !
kook123123 11 months ago
it's the best you are Great thanks alot
egyptsmina 1 year ago
I want to search different thing from the database at the same time.
search with name and email for example.
so how we can pass the other variable value using the same code
hasan4it 1 year ago
COOL ! LOOKING FOR MORE EXAMPLE ...
01718433901 1 year ago
Nice tut, but if you post the form with enter it seems to bugger it up?
JonLeeSmith 1 year ago
Wow, great video tutorial! Nice :D
fishisstyle 1 year ago
this is great... there is a small problem (in ff3 opera chrome -- ie loads fine) form is not defined... so if you replace { name: form.name.value } with { name: $('form[name=form] input[name=name]').value } it should load just fine.
Thx by the way :) this got me started
p2xt 1 year ago
Thanks a lot! Finally I make a relationship between the jQuery,PHP and MySQL.
This is the most clear tutorial I`ve learned.
Greetings form ITAkademy, Serbia - Belgrade!
kalingeorgiev 1 year ago
Comment removed
tonchily 1 year ago
I WAS SENDING FORM VALUES WITH AJAX METHOD INSIDE JQUERY BUT THIS IS SO MUCH LESS CODE TO DO THE SAME THING....I LOVE IT!!! ;)
dennis3380 1 year ago
Great tutorial - easy-to-read, good pace, and nice building on concepts.
darkshei1 1 year ago
You need to close your input tags with a slash.
momothelemur 1 year ago
Which tutorial do we watch that shows how not to expose any sql to the browser? Ex. adding another layer between the client and db?
mwjmk 1 year ago
A very nice tutorial. I wish, though (as I know you wish also) that you would have been more careful in using "name", and "get" for the confusion of usual syntax with "post", "get", "form", "name" which makes it more difficult to understand. Figuring it out, though, can be a good way to "get it". Thanks!
Richard003217 1 year ago
great tutorial
tdg911 1 year ago
OH NICE~~!!!.... Exactly what I am looking for!! You are a life saver!! twice!!
yuchunc 1 year ago
cool accent bro haha
JREAMdesign 1 year ago
hi alex... all this work nw properly... its a great thing... its dump on database empty if i dnt write anything.. will plz help to provide check before dump form validation ... plz /..tq
sukausar 1 year ago
FINALLY! Some has helped me to understand this thing. Thanks man!
authentikitsolutions 1 year ago
thanks ... its a nice tutorial ... i try same code .. with jQuery JavaScript Library v1.4.4 .. every thing is working nice bt except fadeIn(1000), im using IE8, will you plz advice me why?
sukausar 1 year ago
Can i make a search engine this way?
9660ful 1 year ago
Could you please upload Better Quality so i can see the text on Fullscreen mode ;)
thank you :P
fastdrugs 1 year ago
Subscribed.
KDALove 1 year ago
yup...it is very helpful..thanks Alex
ahmedihmeid 1 year ago
Thank you! This Tutorial is useful.
vfee09 1 year ago
thanks for the tutorial, appreciates...
seanlow31 1 year ago
This was probably the best use of php mysql and jquery to return db objects and the .post method I've found in much searching. This is excellent.
otdrbiker 1 year ago
fantastic video,i've watched a few of yours, they are really good. maybe if the level becomes slightly higher then the learner will have sth more to challenge and learn more. again thanks for the effor.
XinWongDigital 1 year ago
Thank you so much for your tutorial... it helps not only me but almost all beginners in PHP... please keep posting your tutorials...
HincorXXX 1 year ago
i dont know did everything like you and checked 4-5 times , and still not working :(
cerber717 1 year ago
OMG, This was exactly what i where looking for :O
vpklotar 1 year ago
you are the best dear.......your tutorials are best on the net......i always found useful and everytime the code runs perfectly......thanks a tonn......
sharyaroraaaa 1 year ago
@sharyaroraaaa Yhea, if you write them right, not like i did xD
vpklotar 1 year ago
...found this tutorial useful and was a great help for us beginners on starting up simple ajax and php scripting. thanks for this video, got more motivated on building up my personal site. :)
jovillartz 1 year ago
Wow! this is the best tutorial about jquery for dummies. Now I understand what is jquery and how works. Thanks!
carlosvazquezm 1 year ago
Finally a simple and good tutorial of the basics! Thank you so much!
diggidan 1 year ago
After spending long hours messing up with ajax forms without any success, i found your tutorial and finally solved my code problems. Thanks a lot for taking your time to upload this, Alex. Cheers.
bdurao 1 year ago
@phpacademy Hey man great tutorials as always. I'm just figuring out, how can you send multiple objects from php file to the jquery file? In the php file i convert the array to a json_encode string. any tips? how i can retrieve them back in jquery?
speedhero 1 year ago
This has been flagged as spam show
Ready to night party and meet naughty women **mworld5.info**
sfgdxgfsdgdfg 1 year ago
Great tutorial!
alozuldo 1 year ago
great work!
amirsubh 1 year ago
There are two php files: country.php and state.php.
Country .php has country list fetched from database and state.php has state list fetched/retrieved from state.php. Through echo "select" and echo"option" method.
How to write a AJAX code so that when user click any country from drop down menu state drop down menu for that country populates again in drop down menu, which was previously not present. without th entire page getting refreshed...
michaelcorelone 1 year ago
Thanks Alex! My name is John and I am from Argentina, and I love watching your tutorials. Right now I am also learning Java.
Do you intend to teach any time soon Java? It would be really nice...
baiez2008 1 year ago
thanks, finally I understod jquery basics :)
haulas 1 year ago 12
@haulas That's great. I'm glad it's helped you.
phpacademy 1 year ago 10
Respected Alex sir, You are great, I've been learning a lot from,
one request to you that post a video on online exam and save marks in a database of ten questions only plzzzzzzzzz do me this favor.
akhileshji05 1 year ago
One thing I noticed was that you did form.name.value. With the jQuery library, you work with objects and events. So instead of saying form.name.value, what you could have done was give your name box an id of name and said $("#name").val() which would be more jQuery friendly.
WebDevFTW 1 year ago
how about we can do this in ajax ,without refreshing the page
Ur video is nice.
sivaramakrish2007 1 year ago
how about we can do this in ajax ,without refreshing the page
sivaramakrish2007 1 year ago
por fin aprendí algo de jquery gracias a tu video, saludos
riotact316 1 year ago
NOT WORK ON FIREFOX
Choosen0 1 year ago