每次在页面加载后我想要更改iframe

每次在页面加载后我想要更改iframe

本文介绍了每次在页面加载后我想要更改iframe src属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 朋友们 < iframe id = Iframeleft align = right height = 388 scrolling = auto src = www.codeproject.com width = 100% 样式 = height: 524px;宽度:160%; > < / iframe > 我可以在页面加载后更改src属性 表示我希望每次在页面加载后我想要更改此src属性。 任何示例或链接的解决方案 谢谢解决方案 < iframe id =frame1runat =serverwidth =1000height =500align =middlesrc =>< / 并在页面加载时使用 this .frame1.Attributes.Add( src,您的值); Hi Friends<iframe id="Iframeleft" align="right" height="388" scrolling="auto" src="www.codeproject.com" width="100%" style="height: 524px; width: 160%;" > </iframe>Can i change the src attribute after the page loadmeans i want to change this src attribute each time whenever i want ,after page load.solution with Any Example or linkThanks 解决方案 < iframe id="frame1" runat = "server" width = "1000" height = "500" align= "middle" src= "" ></and use on page loadthis.frame1.Attributes.Add("src",your value); 这篇关于每次在页面加载后我想要更改iframe src属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-31 05:44