Hi,
How do I call a javascript function from ASP.Net (VB) code?
I added a javascript file into the asp.net project and wrote some javascript statements to display an IFrame.
The javascript function in the jscript file is:
<script language = "javascript">
function showIFrame()
{
var iframe = document.createElement("iframe");
iframe.id = "testiframe";
iframe.name = "testiframe";
iframe.frameborder = 1;
iframe.height = 185;
iframe.width = 175;
iframe.src = "C:\Documents and Settings\RadioButtons\Office.jpg";
window.document.body.appendChild(iframe);
return false;
}
How do I call this function from ASP.Net(VB) code?
e.g Form1_Load(.....)
How do I call a javascript function from ASP.Net (VB) code?
I added a javascript file into the asp.net project and wrote some javascript statements to display an IFrame.
The javascript function in the jscript file is:
<script language = "javascript">
function showIFrame()
{
var iframe = document.createElement("iframe");
iframe.id = "testiframe";
iframe.name = "testiframe";
iframe.frameborder = 1;
iframe.height = 185;
iframe.width = 175;
iframe.src = "C:\Documents and Settings\RadioButtons\Office.jpg";
window.document.body.appendChild(iframe);
return false;
}
How do I call this function from ASP.Net(VB) code?
e.g Form1_Load(.....)