PDA

View Full Version : AJAX in the exisiting tabel data???



bondindiasany
21 May 2007, 9:58 AM
Hi Experts,

I wanted to use AJAX to load the table data. For example below is a table retrieved from connecting to a remote server which usually takes a long time to display on a weak server. By adding file extSupport.asp will display the table in ext2 grid (awesome stuff, thnks).

In the same way is it possible to convert the table to include AJAX(by adding some functions). The table can be displayed on execution and the loading symbol will work until the data is displayed. I have 5 pages which needs the similar function and I may add more...any help is much appreciated. Thanks.

<!--#include virtual="/EMC/functions/extSupport.asp " -->
</head>
<table cellspacing="1" cellpadding="2" border="1" width="100%" id="the-table">
<thead>
<TR>
<TH>#</TH>
<TH>Server Name</TH>
<TH>Display Name</TH>
<TH>State</TH>
<TH>Status</TH>
<TH>Service Name</TH>
<TH>Start Mode</TH>
<TH>Account</TH>
<TH>Stoppable</TH>
<TH>Process ID</TH>
</TR>
</thead>
<tbody>
<TR>
<TD><%=i%></TD>
<TD><%=ExchSrvr%></TD>
<TD><%=objitem.Displayname%></TD>
<TD><%=objitem.State%></TD>
<TD><%=objitem.status%></TD>
<TD><%=objitem.name%></TD>
<TD><%=Objitem.StartMode%></TD>
<TD><%=objitem.startname%></TD>
<TD><%=objitem.acceptstop%></TD>
<TD><%=objitem.ProcessID%></TD>
</TR>
</tbody
</table>