how to fetch contents of iframe
-
Thursday, July 12, 2012 8:29 AM
Hi,
I want to know how to access the contents of iframe whose src is a site (Monster.com).
I want to fetch the contents and display it in grid.
How can i do this .
Please Help
Waiting for reply.
Khan
All Replies
-
Thursday, July 12, 2012 11:54 AM
Hi,
You can use following script to do that. Please post your Development related questions in CRM Development forum to get the assistance at the earliest.
var iframe = document.getElementById('iframename');
var iframeContent = iframe.contentWindow.document;
var fieldinIFrame = iframeContent.getElementById('fieldname');PS: This approach is not a supported way as this is not documented in SDK.
Hope it helps ...!!!
Vikranth http://howto-mscrm.blogspot.com "Please Mark it as answer if it helps in resolving your query"
-
Thursday, July 12, 2012 1:03 PM
Hi Vicky_smag,
Thanks for your reply.
I dont have any specific fields in Iframe. i want to access all the contents in the iframe(site).
The site i used in iframe is Monster.com.
how can i do this.I have posted in development forum also. Thanks for that. still waiting for your reply also.
regards
khan.