M
MW
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
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