Thank you,
I didn't even realize that I had "new" capitalized.
Michael
"avnrao" <> wrote in message
news:...
> i tried out your sample with a small change.
> var dynimages = new Array() // changed New to new.
> it works.
>
> Av.
>
> "MW" <> wrote in message
> news:...
> >I am trying to register the follow script through the
> > RegisterClientScriptBlock method. When the page loads it tells me that
> > the
> > line contain <script language=javascript> is expect ;. Why would it be
> > expecting " ;" ? How do I correct this problem?
> >
> > <script language=javascript>
> > var dynimages = New Array();
> > dynimages[0]=['Images/thumbstormfnsh.jpg', 'http://www.cnn.com'];
> > dynimages[1]=['Images/thumbstormie.jpg', 'http://www.yahoo.com'];
> > dynimages[2]=['Images/thumbuoBuddies.jpg', 'http://www.google.com'];
> > </script>
> >
> > Michael
> >
> >
>
>
|