I have a web page with 2 frames. The main frame (MapFrame) contains an image. Once the page loads, I submit a string to a vb server program that does some processing and then writes a simple web page back in an attempt to replace the content by calling a function that creates new content for the frame. The code that accomplishes this is below. Right now, the only thing the function called passedValue does is generate an alert box. However, when the script in the following code tries to run, I get a "permission denied" error. Interestingly, if I do not attempt to call the passedValue function and directly insert code for an alert box below, the alert box works fine. What does this error mean exactly? Any ideas on what could be going on? Thanks.
With WebLink
<HTML><HEAD><TITLE>JavaScript Stuff</TITLE>
<script language=""javascript"">
function SendString() {
parent.MapFrame.passedValue();
}
</script>
</HEAD>
<body onload='JavaScript:SendString()'>
</body></html>
With WebLink
<HTML><HEAD><TITLE>JavaScript Stuff</TITLE>
<script language=""javascript"">
function SendString() {
parent.MapFrame.passedValue();
}
</script>
</HEAD>
<body onload='JavaScript:SendString()'>
</body></html>