Sorry, this isn't JavaScript code. It's ASP.NET related issue.
It's not clear how this distorted code interpreted by client (or
server?).
And this code seems like VBScript more than J(ava)Script !
You have to ask your problem in ASP(.NET) related mailing-list.
> -----Message d'origine-----
> De : yohomonkey [mailto:yohohuangtao0425@s...]
> Envoy=C3=A9 : dimanche 9 f=C3=A9vrier 2003 04:42
> =C3=80 : javascript
> Objet : [javascript] Adout frameset !!!
>
>
> i use the frameset in my webform3.aspx .
> the frameset include rightframe and leftframe, i want be
> changed them in
> the webform3's page_load ,but the script not run!
>
> webform3.aspx page_load:
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
> 'Put user code to initialize the page here
> Me.RegisterStartupScript
> ("openpage", "<script>parent.rightframe
> .location=3D'WebForm1.aspx';</script>
> ")
> Me.RegisterStartupScript
> ("openpage",
> "<script>parent.leftframe.location=3D'WebForm2.aspx';</script>")
> End If
> End Sub
>
> thanks!
>