i am using datalist , and i want to load more data from database , when scroll touches the bottom , i read many many articles but in all articles their is no description how to write javascript code for datalist,  i am using datalist below
 
OnItemDataBound="SQuestionsDataList_ItemDataBound">
"
BorderStyle="None" Font-Size="10px" runat="server" Text="Delete" />
BorderStyle="None" Font-Size="10px" runat="server" Text="Report" />
Style="border-radius: 0px; border-style: none; width:400px; font-family: garamond;
word-wrap: break-word; white-space: normal;" Text='<%# Eval("Heading") %>'>
runat="server" Width="100px" Height="100px" ImageUrl='<%# "Handler.ashx?QID=" + Eval("QID")%>' />
Text='<%# Eval("Heading").ToString().Length > 150?(Eval("Heading") as string).Substring(0,150) + "...":Eval("Heading") %>'>
<%--
--%>
OnItemCreated="DataList7_ItemCreated">
Text="">
BorderStyle="None" CommandName="TakeIDForLike" Text="True" />
runat="server">
You True This On
padding-left: 2px;">
Comments   
Text="Refresh" runat="server">
SelectCommand="SELECT DISTINCT * FROM [Likes] WHERE ([qid] = @qid) and ([sid] = @sid)">
SelectCommand="SELECT Heading, LikeCounter , CommentCounter , Qid , Uid FROM [NewsUploaded] WHERE ([qid] = @qid)">
ImageUrl='<%# "Handler2.ashx?sid=" + Eval("sid")%>' Width="50px" Height="50px"
runat="server" />
SelectCommand="SELECT sid FROM [Users] WHERE ([sid] = @sid)">
border-right-color: White; border-top-color: White; border-bottom-color: White;"
placeholder="leave a comment..." class="form-control" Width="100%" runat="server"
Wrap="True">
class="btn btn-primary btn-md" CommandName="TakeIDForComment" Text="Comment" />
OnItemDataBound="DataList1_ItemDataBound">
"
"
On

runat="server" Text='<%# Eval("comment") %>'>
CommandName="DeleteComment1" BackColor="Transparent" Text="Delete" />
CommandName="DeleteComment2" BackColor="Transparent" Text="Delete" />
CommandName="EditComment" BackColor="Transparent" Text="Edit" />
CommandName="ReportForComment" BackColor="Transparent" Text="Report" />
<%----%>
Text='<%# Eval("EditStatus") %>'>
Text='<%# Eval("EditDate") %>'>

-------------x-------------x-------------x-------------
 
is it possible for my datalist code... please help...