俺"篡改"他的program and use my own data input, for reviewing/training purpose. The following code is one of my page:
Stock Charts
function HandleKey()
{
if(window.event.keyCode==37)//when we click the left key in the small keyboard.
{
__doPostBack('','');
}
if(window.event.keyCode==39)//when we click the right key in the small keyboard.
{
__doPostBack('','');
}
if(window.event.keyCode==52)//when we click the left key in the small keyboard.
{
__doPostBack('','');
}
if(window.event.keyCode==54)//when we click the right key in the small keyboard.
{
__doPostBack('','');
}
}
>
Hope this help...