JAVASCRIPT²éѯÊý¾Ý¿â
¹ØÓÚJAVASCRIPT²éѯÊý¾Ý¿âµÄ´úÂë
´úÂëΪ£º
var conn = Server.CreateObject("ADODB.Connection");
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("shjzd.mdb");
conn.Open();
var rs= conn.Execute("select * from [tablea]");
while (!rs.eof){
Response.write("񅧏:"+rs("id").Value+" <br/> ");
rs.MoveNext()
}
rs.Close();
conn.Close();
Ïà¹ØÎĵµ£º
scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......
JavaScript ECMAScriptÊÇÕâ¸ö½Å±¾ÓïÑԵıê×¼»¯°æ±¾¡£ ScriptÔªËØ£º ÔÚHTML´úÂëÖÐÌí¼ÓJavaScript´úÂë Ò²¿ÉÒ԰ѽű¾´úÂë·ÅÔ ......
//¹ã¸æÀ¸
function MoveLeftLayer(layerName) {
var x = 5;
var y = 100;// ×ó²à¹ã¸æ¾àÀëÒ³Ê׸߶È
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = parseInt(y)");
e ......
ÿ´ÎÓÃGoogleµÄ
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(num);
&n ......
Ò³ÃæÖÐÓÐÒ»¸ötable°üº¬Á½ÁУ¬Êý¾ÝÓɺǫ́Éú³É£¬ÐÐÊý²»¶¨£º£¨Èçͼ£©
ÔʼÊý¾Ý£º
ÏÖÔÚͨ¹ýjavascript½øÐвéѯ£¬Ð§¹ûÈçÏÂÈýͼ£º
¿ªÊ¼²éѯ
²éѯÖÐ......
²éѯµÃµ½µÄ×Ôºó½á¹û
JAVASCRIPT´úÂ룺
JS´úÂë
<script language="javascript" tpe="text/javascript">
function searchMateria ......