2012-04-12 84 views
0

我有以下HTL標記得到正確的DOM元素

<iframe id="ContentPlaceHolder1_Editor1_ctl02_ctl00" frameborder="0" style="height:  100%; width: 100%; border-width: 0px;" marginwidth="0" marginheight="0" name="ContentPlaceHolder1_Editor1_ctl02_ctl00"> 
<html> 
    <head> 
    <body> 
    sa 
    <br> 
</body> 
</html> 
</iframe> 

我使用jQuery選擇

由於需要一種方式來昌文在身上的標籤。

+0

的HTML你什麼你的iframe需要在不同的HTML文件,並鏈接到與src屬性的iframe。直接在iframe標籤內的Html不受支持 – mimo 2012-04-12 09:08:57

回答