Welcome To Snipplr


Everyone's Recent Snippets Tagged ajax



Requires Mootools 1.2<br/> http://mootools.net/download Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events. * Confirmation - Provides an Ok, Cancel input box before proceeding furt...
1 213 posted 12 years ago by dom111
1 202 posted 12 years ago by KernelPanic
0 156 posted 12 years ago by 6e
3 330 posted 13 years ago by iTony
#modal would be the bodyID of your modal window. I use jqmodal so it strips out all the header tags, and takes your body ID and turns it into a div.
2 216 posted 13 years ago by kristin
libreria que mediante ajax y javascript permite paginar los contenidos de una tabla
0 188 posted 13 years ago by victorchamorro
3 250 posted 13 years ago by miziomon
0 188 posted 13 years ago by tjhanley
2 172 posted 14 years ago by winson
Simply replaces the div's innerHTML with the response text received from the file.
3 537 posted 14 years ago by 1man
The simple form that calls the searchYahoo function.
1 330 posted 14 years ago by 1man
This function allows you to parse a simple XML document(passed to it using this.href on a onclick event). Virtually the same as JSON, the things that have been changed ate labeled !Important.
3 279 posted 14 years ago by 1man
This function is near enough the same as parsing XML. The only things that have changed are the sections marked !important.
3 288 posted 14 years ago by 1man
Very basic grab a line of text from a file then display it in an alert box. Uses other functions for loading prepareLinks() and creating the request.
2 261 posted 14 years ago by 1man
Simple Ajax POST request using the getHTTPObject function.
2 236 posted 14 years ago by 1man
2 258 posted 14 years ago by 1man
This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.
4 303 posted 14 years ago by 1man
An example ajax form tag
5 247 posted 14 years ago by jordanbrock
1 203 posted 14 years ago by danideu
1 234 posted 14 years ago by raws
El modo de uso es el siguiente: function cargarContenido() { var p = new Request("prueba2.asp",respuesta); p.setMethod("GET"); p.addParam("saludo",$("txtSaludo").value); p.addParam("telefono",$("txtTelefono").value); p.callRequest();...
3 261 posted 14 years ago by enzoscuro
A simple function to check if the request comes from an AJAX XMLHttpRequest. Use it if your page should behave differently when called from AJAX. Comes from jquery mailing list: http://jquery.com/discuss/2006-June/006656/
29 1173 posted 14 years ago by TC
2 278 posted 14 years ago by pablazo
Often PHP can't interpret POST data because it is not form-encoded. This is typical when the post data is XML from API's like Flash's XmlSocket. You can use the following methods to read the POST data directly.
1 466 posted 14 years ago by mthorn
Ejemplo de cómo utilizar el objeto Ajax.Responders de Prototype. El ejemplo hace uso de Scriptaculous.
3 252 posted 14 years ago by sendoa
The stylesheet for the LoadingMessage object (http://snipplr.com/view/347/loadingmessage-for-ajax-requests/).
11 323 posted 14 years ago by dertimbo