This project is archived and is in readonly mode.

#278 ✓invalid
Boycott

Internet Explorer : Request.html does not load page with variables

Reported by Boycott | July 30th, 2008 @ 04:18 PM | in 2.0 (closed)

Internet Explorer 6 (version 6.0.2900.2180),

and Internet Explorer 7 (version 7.0.5730.13)

running on separate MS Windows XP service pack 2 installations within VMWare Fusion on a Macbook Pro (OS X 10.5)

In the code:

    var XHR = new Request.HTML({
        method     : 'get',
        url        : page,
        data       : { 'view' : 'popup' },
        onComplete : function(tree,elem,html,js) {
            $$('#lbox-inner div').set('html',html);
            eval(js);
        }
    }).send();   

I receive no response in either of the browsers. However, if I take out the data: {} line, I get the expected response. I have tried using:

    var XHR = new Request({
        method     : 'get',
        url        : page,
        data       : { 'view' : 'popup' },
        onSuccess  : function(html,xml) {
            $$('#lbox-inner div').set('html',html);
        }
    }).send(); 

but I need the javascript to be run after the html has been run.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages