Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var request = new Request.HTML({
- url: 'nyttinnehall.html',
- method: 'get',
- onRequest: function(){
- },
- onSuccess: function(responseTree){
- responseTree[0].inject(document.body);
- },
- onFailure: function(){
- alert('det blev fel, säg till admin att skärpa sig');
- }
- });
- request.send();
- // nyttinnehall.html
- <div id="addImages">
- <img src="" />
- </div>
Add Comment
Please, Sign In to add comment