I am looking for a very similar solution described under Q: How to get a table cell value using jquery? but in case where table is actually on another website within same domain (no server side scripting is available).
I will appreaciate your help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you can make an AJAX GET request to it (that is, if you’re not impeded by the same origin policy), then you can use jQuery’s
.load()function.You essentially pass the function a resource and a selector, and it will fetch the resource and parse out the content of the selector and load it into whatever you called it on, then on complete execute a function that you also pass to it. For example…
What this will do is:
id“emailAddress”index.htmlpwith the class “contactInfo” which contains aspanwith the class “emailAddress”spanto the originally selected element (id“emailAddress”)