Hi!
I can't get the if-modified-since header to work with jquery ajax.
I tried to fet an xml like this:
$.get("url", function(xml){
//Do something with response.
}, "xml");
On these requests the if-modified-since is not set.
Then I tried like this:
$.ajax({
type:
Hi!
I'm creating a ajax call like this:
jQuery.ajax({ url: "http://urltopage/?callback=callbackhandler";,
dataType: "json", type: "GET", cache: true, callback: null, data:
null });
I then have a callbackhandler function like this:
function callbackhandler(data){
do something here
}
The respon
Hi!
I saw that the jQuery.each function iterates over the array like this:
for ( name in object){}
>From what I read this is one of the slowest ways of iterating over an
array in js.
I made a very simple test like:
var array = [];
3 matches
Mail list logo