Welcome To Snipplr


Everyone's Recent Snippets Tagged ajax



1 2 3 4 5 Next »
1 415 posted 14 years ago by KernelPanic
0 294 posted 14 years ago by 6e
3 674 posted 14 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 443 posted 14 years ago by kristin
libreria que mediante ajax y javascript permite paginar los contenidos de una tabla
0 350 posted 15 years ago by victorchamorro
3 493 posted 15 years ago by miziomon
0 380 posted 15 years ago by tjhanley
2 379 posted 15 years ago by winson
Simply replaces the div's innerHTML with the response text received from the file.
3 989 posted 15 years ago by 1man
The simple form that calls the searchYahoo function.
1 600 posted 15 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 562 posted 15 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 597 posted 15 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 539 posted 15 years ago by 1man
Simple Ajax POST request using the getHTTPObject function.
2 479 posted 15 years ago by 1man
2 549 posted 15 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 652 posted 15 years ago by 1man
An example ajax form tag
5 530 posted 15 years ago by jordanbrock
1 419 posted 16 years ago by danideu
1 481 posted 16 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 506 posted 16 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 3150 posted 16 years ago by TC
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 845 posted 16 years ago by mthorn
Ejemplo de cómo utilizar el objeto Ajax.Responders de Prototype. El ejemplo hace uso de Scriptaculous.
3 471 posted 16 years ago by sendoa
The stylesheet for the LoadingMessage object (http://snipplr.com/view/347/loadingmessage-for-ajax-requests/).
11 685 posted 16 years ago by dertimbo
Creates a notification message for AJAX requests. Dependencies: prototype.js, script.aculo.us. CSS-Styles: http://snipplr.com/view/348/loadingmessage-for-ajax-requests-css/
11 624 posted 16 years ago by dertimbo
1 2 3 4 5 Next »