G
Guest
Dear friends,
I have an IFRAME that I want to change src url when clicking a button.
How can I change IFRAME src using button_click ?
<iframe runat="server" frameBorder=0 marginHeight=0 marginWidth=0
name=login scrolling=no src="https://localhost/default.asp"
width=150 height=97 id=myFrame></iframe>
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
myFrame.?????????= "https://localhost/login.asp"
End Sub
I have an IFRAME that I want to change src url when clicking a button.
How can I change IFRAME src using button_click ?
<iframe runat="server" frameBorder=0 marginHeight=0 marginWidth=0
name=login scrolling=no src="https://localhost/default.asp"
width=150 height=97 id=myFrame></iframe>
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
myFrame.?????????= "https://localhost/login.asp"
End Sub