jquery - Load only one ID element from another website -
i know can this
<!doctype html> <html> <head> <meta charset="utf-8"> <title>load remote content object element</title> </head> <body> <div id="siteloader"></div> <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script> $("#siteloader").html('<object data="http://tired.com/">'); </script> </body> </html> and load web site in page,but problem on url have 1 element, , i want specific id content website id #sidebar-wrapper possible?
it typically not possible load content website , read using javascript due browser security restrictions. need server-side script download data first on server , serve client.
Comments
Post a Comment