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 96 posted 12 years ago by dom111
1 91 posted 12 years ago by KernelPanic
0 73 posted 12 years ago by 6e
3 165 posted 12 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 102 posted 12 years ago by kristin
libreria que mediante ajax y javascript permite paginar los contenidos de una tabla
0 84 posted 12 years ago by victorchamorro
3 128 posted 12 years ago by miziomon
0 86 posted 13 years ago by tjhanley
2 82 posted 13 years ago by winson
Simply replaces the div's innerHTML with the response text received from the file.
3 321 posted 13 years ago by 1man
The simple form that calls the searchYahoo function.
1 190 posted 13 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 144 posted 13 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 154 posted 13 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 130 posted 13 years ago by 1man
Simple Ajax POST request using the getHTTPObject function.
2 119 posted 13 years ago by 1man
2 130 posted 13 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 166 posted 13 years ago by 1man
An example ajax form tag
5 126 posted 13 years ago by jordanbrock
1 99 posted 13 years ago by danideu
1 115 posted 13 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 131 posted 13 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 656 posted 14 years ago by TC
2 138 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 267 posted 14 years ago by mthorn
Ejemplo de cómo utilizar el objeto Ajax.Responders de Prototype. El ejemplo hace uso de Scriptaculous.
3 132 posted 14 years ago by sendoa
The stylesheet for the LoadingMessage object (http://snipplr.com/view/347/loadingmessage-for-ajax-requests/).
11 173 posted 14 years ago by dertimbo