Archív pre tag ‘ajax‘

How To Submit a Form with jQuery and AJAX

05.06.2011, Kategória: Napísali v zahraničí, Autor , Tagy: , , Komentáre sú deaktivované

HTML forms make up a large part of the web. They are the primary method for retrieving input from users. Typically, you fill out the form, click the submit button, and be redirected to a thank you page. For web applications, this may not be ideal – you may not want the user to leave the page. In this article, I’ll show you how to use jQuery’s AJAX function to submit a form asynchronously to the server and avoid a redirect.

Čítať ďalej originálny článok

Ajax Autocomplete for jQuery

17.05.2011, Kategória: Napísali v zahraničí, Autor , Tagy: , , , Komentáre sú deaktivované

Ajax Autocomplete for jQuery allows you to easily create autocomplete/autosuggest boxes for text input fields.It is built with focus on performance. Results for every query are cached and pulled from local cache for the same repeating query. If there are no results for particular query it stops sending requests to the server for other queries.

Čítať ďalej originálny článok

Remotely Download Google AJAX Libraries Using PHP

06.12.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , , , Komentáre sú deaktivované

I don’t know how to use all of the JavaScript libraries but perusing their code is interesting. If I’m looking to code something I’ll look at how each of the other libraries accomplishes the task. The problem is that you need to go out and download each one. And of course they’re all on different development schedules so you’d also need to make sure to grab the latest version of the library. Instead of manually accomplishing that task, I’ve chosen create a script that does all of that for me.

Čítať ďalej originálny článok

From MySQL to jQuery, via PHP, XML & Ajax

05.11.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , , , , Komentáre sú deaktivované

Back in the early part of this year I posted an article around how to get MySQL data out of the database and into a web page via jQuery and Ajax. The tutorial was okay, but I made some rookie mistakes – specifically around the creation of XML data with PHP – This time, I hope to rectify that!

So this article will focus on getting data from a database using PHP, converting that to an XML document, and reading that XML in through jQuery via Ajax calls. Seems complex, but is in fact, very easy.

Čítať ďalej originálny článok

This tutorial demonstrates how to create a jQuery calendar with PHP and Javascript using a remote data source. This is an extension of my previous article about the jQuery calendar I developed for the Salvation Army of Wake County website.

The final calendar in this tutorial contains a hyperlink for each day of the month. When a hyperlink is clicked, a list of events for that day is requested from a remote script, cached client-side, and displayed on the page.

Čítať ďalej originálny článok

Ajaxed Sliding Shopping Cart With jQuery

19.08.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , , , , , Komentáre sú deaktivované

With this 5th & last post of the “WRD E-Commerce Week” we will be modifying “our Ajaxed shopping cart” to create a one which is very ideal for designs with limited spaces.

» Čítať ďalej originálny článok

PHP Ajax Comments

12.08.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , Komentáre sú deaktivované

Continuing with a rather ‘Ajax’ theme after the last few tutorials on here i thought I’d go the full way and show you how to create a 140 character php and ajax comments tool. We’re using jQuery to perform the ajax request and create the user experience. You can download all the files needed to get this working at the bottom of this post, it includes the MySQL file to create the database table.

» Čítať ďalej originálny článok

Detect an AJAX Request in PHP

12.08.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , Komentáre sú deaktivované

I like using the same PHP script for both AJAX and non-AJAX content requests. Using one script just makes everything easier because it’s only one file to update/edit and it’s one more cache-able request. One way to try detect an AJAX request (as opposed to a regular page load) is by using the following PHP code.

» Čítať ďalej originálny článok

A Simple AJAX Driven Website with jQuery + PHP

18.06.2010, Kategória: Napísali v zahraničí, Autor , Tagy: , , Komentáre sú deaktivované

This tutorial will show you how to create an AJAX Driven Website that overcame the browser Back button and bookmark problem in AJAX. I have made two versions, simplified version for further modification and my version to show you how to style it.

» Čítať ďalej originálny článok

When creating a website, one main goal is to attract visitors. Traffic generation is a necessity for monetary purposes, showing off your work, or just expressing your thoughts. There are many ways to create traffic for your website. Search engines, social bookmarking, and word of mouth are just a few examples. But how do you know whether this traffic is genuine? How do you know if your visitors are coming back for a second time?

» Čítať ďalej originálny článok