Datareader's value in javascript array
i want to fetch Image name, and 3 more field's value from dat开发者_运维问答abase and pass it to the javascript's array....which would b generate from database(Image name and 3 field)
http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm
.... var leftrightslide=new Array() var finalslide='' leftrightslide[cnt]='' cnt++ ....
for interaction between javascript and scripting languages use AJAX
XMLHTTPRequest object
function fndisn(e)
{
var key1;
if(document.all)
{
key1 = e.keyCode;
}
else
{
key1 = e.which;
}
if((key1 > 64 && key1 < 91) || (key1 > 96 && key1 < 123))
{return true;}
else
{return false;}
}
精彩评论