javascript - How to get an IFrame src attribute value from ASP.Net code behind? -


on asp.net code behind page have generated source , want value of src attribute of iframe on html page?

on page:

<iframe runat="server" src="test" id="myframe"></iframe> 

on code behind:

string source = myframe.attributes["src"]; 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -