Array Extension

Posted by Sunny.Sagar under ASP.NET AJAX category on | Points: 40 | Views : 347
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">  
<html xmlns="">
<head runat="server">
<title>Client Side Event in ASP.NET Ajax</title>
<script language="javascript" type="text/javascript">
function pageLoad() {
var string = '';
var array = ['Sagar','Sunny'];
Array.add(array, 'M');
for (var i = 0; i < array.length; i++) {
string += array[i] + ' ';
<form id="form1" runat="server">
<asp:ScriptManager runat="server" ID="SM1" />

ASP.NET AJAX client side framework also extend the JavaScript array object and provides ability to work with the array in the similar way as we work in the server side

Comments or Responses

Login to post response