Hi guys,
I'm new to prototype. I've been using it to load a panel by writing
what I get from pd_builddetails.html into a div tag using innerHTML.
This works fine with firefox, but on IE6, its a little unpredictable.
I have it working sometimes, but after awhile of clicking around, it
seems to be "loading" for a very looong time.
Closing the browser and restarting it again, seems to solve this
problem. Anyone experience this before?
Thanks in advance!
Nelson
//Loads the Build Details Panel
function loadBuildDetails(buildID){
new Ajax.Request('pd_builddetails.html',
{
method:'get',
parameters: {buildID: buildID },
onLoading: function() {
document.getElementById("builddetails_panel").innerHTML="<p><IMG
src='images/spinner.gif' border=0 align='left' height=16
width=16><STRONG> Loading...</STRONG>"
},
onSuccess: function(transport){
response = transport.responseText || "no response
text";
//response = response.trim();
document.getElementById("builddetails_panel").innerHTML=response;
},
onFailure: function(){ alert('Something went wrong. with
build details panel..') }
});
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---