[jQuery] Re: AJAX JSON call and caching?

2008-10-27 Thread MarcDK
It's a php file which outputs a json file. What do I hav to change? On 25 Okt., 16:02, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Ok, but it does not really work: > > >http://www.marctv.de/#moblog_teaser > > > What's the matter? > > Is the server sending cache-control and last-modified headers?

[jQuery] Re: AJAX JSON call and caching?

2008-10-25 Thread MarcDK
Ok, but it does not really work: http://www.marctv.de/#moblog_teaser // JSON mit URL und Parameter "page" aufrufen $.getJSON("http://www.marctv.de/index.php?json_output_mob";, { page: settings.cur_page }, // Diese Funktion wird aufgerufen, wenn die JSON-Daten angekommen sind

[jQuery] AJAX JSON call and caching?

2008-10-25 Thread MarcDK
Hi! I try to figure out how to enable caching for JSON calls. I used the example and the jquery documentation but I have no idea where to put the "cache: true". http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne? tags=ca

[jQuery] [validate] Translation of the message-object with the SetDefaults function? How?

2008-09-10 Thread MarcDK
Hi! I want to translate the messages of the validation plugin without touching the org. files. I tried to overwrite the message object like this: $.validator.setDefaults({ messages: { required: "Dies ist ein Pflichtfeld!", remote: "Bitte ändere die Einga

[jQuery] functions and jquery

2008-06-02 Thread MarcDK
I have a problem with functions in jquery. Here is my code: $(function() { function klappmenu(id_name) { id_status=id_name+"_status"; head=id_name+"_head"; var id_status = $.cookie("+id_status+"); if (id_status == null){ $("h3#"+head).addClass('zu'); $("#"+id_name).css("display