Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <body>
- <img id="google" src="http://www.google.com/favicon.ico">
- <script>
- $(document).ready(function(){
- var width = $('#google').width();
- $.ajax({
- url:'http://example.com',
- data:{
- width:width
- }
- })
- })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement