Home  >  Article  >  Web Front-end  >  iframe的src赋值问题(服务器端)_HTML/Xhtml_网页制作

iframe的src赋值问题(服务器端)_HTML/Xhtml_网页制作

WBOY
WBOYOriginal
2016-05-16 16:40:231799browse

今天遇到这个问题,服务器端的iframe重新src重新赋值,给iframe加一个ID,再加上runat=server

1.通过JS 给 iframe 的src 赋值

2.如果需要在C# 后台,页面加载时就改变iframe的src 可以通过

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn