An update about where to get the code. I've initialized to migrate all my code snippets into one repository named codesnippets. Every copy&paste code snippet will be located there in the suitable directory as it is more manageable for me instead of locating them in my own website. Larger projects (i.e Minesweeper game) are exceptional, they will have their own repository links. Get the code from the Github link in the description and enjoy watching! :)
Fully agree. Back to the basics is just what I needed. All I need to know now is, if I return some object back to the front end, how to display it without a refresh.
Dude, I'm in CS50 working on my final project and I needed to learn how to use jQuery to do AJAX because what was taught in class wasn't sufficient for the AJAX that I want to do for my project. Your video helped me so much to understand how to do this! The way that you explained everything by going step by step and giving showing the results of your code at each step, then building on it just made it click. Thank you!!!
Also, I'm not sure why but I noticed that you don't have a semicolon after your console.log statement. For some reason it still seems to work for me but I'm assuming there should be one.
Hey, thanks for the warm words and the contribution, with 100% honesty, I want to say that it's ok to keep some lines without a semicolon. But not sure what are the rules in JS about it, I know that both cases are working.
@@jimshapedcoding I'm not sure about the semicolon either since I'm pretty new to both coding and js but from what I'm seeing most of the time if you emit a semicolon in js it won't cause a bug, but in rare instances it will. I'm going to do my best to try to remember them just in case.
I watch most of the video but none of them is not working please... How to add a search system to flask app whereby if for example an admin search for something he can get the feedback
i tried your way of specify URL for ajax. not working. I tries '/create_file', not working. I created a creatfile.py and use 'createfile.py' for ajax URL, not working. what is wrong
Thanks! A very informative video as always! I'm curious about using AJAX outputs in conjunction with this. For example, after the user has entered something to the input and pressed a button, we can show the result on the page without refreshing. Is that even possible?
Yes, sure it is possible, I want to believe that it's going to be the same as the example I showed here, only handling the response differently, and use a code snippet like: document.getElementById(''your_id').innerHTML = $YourNewValue
Please and please I request from you to do a video on how to add a search 🔎 systems to the flask app but you didn't mind me up to now. But please help me 😢
Hey Kavorka! Thanks for watching the tutorial. This was a basic overall explanation how to do it with a simple element. You can use the patterns of the single way I showed in this one and create much more client content that will reload without refresh.
Thanks so much! This really helped me with my CS50 final project!🦆
An update about where to get the code. I've initialized to migrate all my code snippets into one repository named codesnippets. Every copy&paste code snippet will be located there in the suitable directory as it is more manageable for me instead of locating them in my own website. Larger projects (i.e Minesweeper game) are exceptional, they will have their own repository links.
Get the code from the Github link in the description and enjoy watching! :)
Great video. Really clear and first time I really understood how to use this.
Fully agree. Back to the basics is just what I needed.
All I need to know now is, if I return some object back to the front end, how to display it without a refresh.
Dude, I'm in CS50 working on my final project and I needed to learn how to use jQuery to do AJAX because what was taught in class wasn't sufficient for the AJAX that I want to do for my project. Your video helped me so much to understand how to do this! The way that you explained everything by going step by step and giving showing the results of your code at each step, then building on it just made it click. Thank you!!!
Also, I'm not sure why but I noticed that you don't have a semicolon after your console.log statement. For some reason it still seems to work for me but I'm assuming there should be one.
Hey, thanks for the warm words and the contribution, with 100% honesty, I want to say that it's ok to keep some lines without a semicolon. But not sure what are the rules in JS about it, I know that both cases are working.
@@jimshapedcoding I'm not sure about the semicolon either since I'm pretty new to both coding and js but from what I'm seeing most of the time if you emit a semicolon in js it won't cause a bug, but in rare instances it will. I'm going to do my best to try to remember them just in case.
This will help me in my blog app for quick liking and disliking a post : )
Thanks Jim sir for this video
You're welcome!
Gained lot of knowledge from it.... your teaching style is Superb !
Glad to hear that
Man you are amazing! Very clear explanation . Thank you
Lovely video, helped me finish my pet project 🎉❤🎉
u are the best
非常好的视频,爱来自中国😍
Nice video Jim, thanks!
Good tutorial Jim!
Sir thanks for the video 📹
I watch most of the video but none of them is not working please... How to add a search system to flask app whereby if for example an admin search for something he can get the feedback
i tried your way of specify URL for ajax. not working. I tries '/create_file', not working. I created a creatfile.py and use 'createfile.py' for ajax URL, not working. what is wrong
Hey Yanhua, something must be configured maybe wrong. Let me help you in our Discord channel, you can join from this link: discord.gg/vcqK72aH
Thanks! A very informative video as always! I'm curious about using AJAX outputs in conjunction with this. For example, after the user has entered something to the input and pressed a button, we can show the result on the page without refreshing. Is that even possible?
Yes it is possible....There are videos on RUclips, try searching "Ajax Flask Form"
Yes, sure it is possible, I want to believe that it's going to be the same as the example I showed here, only handling the response differently, and use a code snippet like:
document.getElementById(''your_id').innerHTML = $YourNewValue
@@jimshapedcoding Thanks!! I actually tried implementing this and it worked out pretty well!
Nice. Could you do the same without Flask?
how to fetch data from the back end after submitting a post request asynchronously in flask. please make a tutorial on that.
Please and please I request from you to do a video on how to add a search 🔎 systems to the flask app but you didn't mind me up to now. But please help me 😢
this is great, but I didn't see you implement anything on the client side without reloading the page.
Hey Kavorka! Thanks for watching the tutorial. This was a basic overall explanation how to do it with a simple element. You can use the patterns of the single way I showed in this one and create much more client content that will reload without refresh.