Category: jquery

Ajax requests with jQuery.post()

This is one of the reasons I still like jQuery. I’m sure all the new frameworks do similar stuff, but things like this are so simple with jQuery. Anyway, jQuery.post() is a shorthand Ajax function. It’s the equivalent of doing this: $.ajax({ type: “POST”, url: url, data: data, success: success, dataType: dataType }); So, with it, you can send an Ajax request this easily: var posting = $.post(url, data); Then, handle the response like this: posting.done(function(data) { // Handle data here }); Or, all together like this: $.post( “process.php”, function( data ) { $( “.result” ).html( data ); }); It

Read More »

NEW COURSE: Build an AJAX-powered freelance website template

Just released a new project-based course. In this one you’ll learn: How to submit form data using AJAX How to build a responsive grid with CSS Grid How to send a contact email using PHP How to build a mobile menu using CSS transitions How to build a website using HTML, CSS, jQuery and PHP And, plenty more. Full source code is included. You can get access to it for nothing here: https://skl.sh/2xM6Y3l Later, John P.S. If you’re a Patreon supporter, you can access the course here: https://www.patreon.com/posts/21697046

Read More »

Add Active Navigation Class to Menu Item Based on URL Using jQuery

In this jQuery tutorial, you’ll learn how to add an active class to a menu item based on the page URL using jQuery… so you can highlight that menu item. You’ll learn: how use the jQuery addClass() method how to get the current page’s URL path in JavaScript how to split a URL in an array of parts how to use the JavaScript pop() method how to target an element based the value of a specified attributed using jQuery Watch the tutorial below: Links mentioned in the video: Link to the Complete Web Developer Course with discount. My web developer

Read More »

The simple secrets to high-paying freelance clients

What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:

Clients Like:

Inc. Magazine Logo
Lewis Howes Logo
Ray Edwards Logo

WHAT OTHERS ARE SAYING

Bob Patterson

Not only is John a very talented programmer and developer, he is also an excellent communicator. He has a talent for taking complex subjects and communicating them in terms that anyone can understand. This is a rare combination. This ability has enabled me to take my skills and knowledge to the next level. Thank you John for for all that you do.

Oliver Wainwright

Oliver Wainwright

I’m a fan. I have completed several of John’s courses. I find him very knowledgeable and he has a great delivery.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.

Jason Rumley

Jason Rumley

John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Aaron Gott

Aaron Gott

John has a particular knack for the development and training of others.

Steve Dimmick

Steve Dimmick

John has provided expert knowledge and advice on multiple occasions that have helped me better serve my clients. John is a Rockstar!

Jim DeJonge

Jim DeJonge

John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.

Andrew Malone

Andrew Malone

John Morris is exceptional in his ability to give focused insight into Freelancing and starting one’s business. His direct methods inspire confidence in his honesty.

Michael Skye

Michael Skye

John is a man of integrity, who gives generously of himself to projects and people he cares about.