Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends
<iframe id="Iframeleft" align="right"  height="388" scrolling="auto" src="" width="100%" style="height: 524px; width: 160%;" >

Can i change the src attribute after the page load
means i want to change this src attribute each time whenever i want ,after page load.
solution with Any Example or link

Updated 19-Feb-13 21:35pm

1 solution

< iframe id="frame1" runat = "server" width = "1000" height = "500" align= "middle" src= "" ></

and use on page load

this.frame1.Attributes.Add("src",your value);
Share this answer
patil.nitin8358 20-Feb-13 3:14am    
after page load i want set src attribute
uspatel 20-Feb-13 3:43am    
this.frame1.Attributes.Add("src",your value);
you can add this on any event where you need.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900