I copied it and I'm still getting an error after I click on a HOME
LINK or reload.
Again, it works on the initial page load when the cache is empty it
appears.
Erik
On Mar 3, 2009, at 1:31 PM, Fábio Costa wrote:
window.addEvent('domready', function() {
if (!window.demo_path) window.demo_path = '';
var demo_path = window.demo_path;
var req = new Request({url:demo_path+'appoint.htm',
onSuccess: function(html) {
$('result1').set('html', html);
},
onFailure: function() {
$('result1').set('text', 'The request failed.');
}
});
$('makeRequest').addEvent('click', function() {
req.send();
});
});