Login Register

caching

noob problem using xhrGet

Hi

I have just started to use this toolkit and I think its really sweet working with.

I have made a function which looks like this:

function toggleAndChangeStyle(targetId,targetId2,classId) {
if (document.getElementById){
var target = document.getElementById( targetId );
var target2 = document.getElementById( targetId2 );

dojo.xhrGet(
{
url: '/servlet/gui',
load: helloCallback,
error: helloError,
content: {groupId:targetId}
}
);

if (target.style.display == "none"){

Syndicate content