I'm on IE7 and it works fine - can you rexplain the issue please?
On Feb 9, 4:48 pm, "jeff.m.gamble" <[email protected]> wrote: > Having a problem using Request.HTML that seems to be occurring only > IE. The script starts with the that I'm working on: The problem is > that these two request work fine in FF and Safari but not in IE 7 > (when I click the links the HTML is returned for each). I checked the > demo resources but still no luck. Here is the example > pagehttp://www.nyu.edu/alumni/Request.HTML/Request.HTML/index.html > > var req = new Request.HTML({url:demo_path+'data.html', > onSuccess: function(html) { > > $('result').set('text', ''); > //Inject the new DOM elements into the results div. > $('result').adopt(html); > }, > onFailure: function() { > $('result').set('text', 'The request failed.'); > } > }); > > var req2 = new Request.HTML({url:demo_path+'homeaddress.html', > onSuccess: function(html) { > //Clear the text currently inside the results div. > $('result').set('text', ''); > //Inject the new DOM elements into the results div. > $('result').adopt(html); > }, > > onFailure: function() { > $('result').set('text', 'The request failed.'); > } > }); > > $('makeRequest').addEvent('click', function() { > req.send(); > }); > > $('makeRequest2').addEvent('click', function() { > req2.send(); > > });
