Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaScript´úÂëÔõôʵÏÖ£¿ - Web ¿ª·¢ / JavaScript

JavaScript´úÂëÔõôʵÏÖ£¿
 
Îļþ¼ÐÀïÃæºÜ¶àjpg¸ñʽµÄͼƬ ±ÈÈçcÅÌϵÄ22Îļþ¼Ð Ëæ»úÏÔʾһÕÅ ÔõôʵÏÖ ÎÒÊÇÐÂÊÖ Ï£ÍûÓгÌÐò



End_rbody_65127984//-->
¸Ã»Ø¸´ÓÚ2010-05-27 12:39:06±»°æÖ÷ɾ³ý



¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP








licip
(licip)

µÈ¡¡¼¶£º



#2Â¥ µÃ·Ö£º0»Ø¸´ÓÚ£º2010-05-02 09:16:16


°ÑͼƬÃûµÄ´æ´¢ÆðÀ´£¬È»ºó£¬Ëæ»úÈ¡Ò»ÕÅ¡£

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Ëæ»úÏÔʾͼƬ</title>
</head>

<body>
<% 
  int n=(int)(Math.random()*21)+1;
//a + Math.random() * b¿ÉÒÔ·µ»Øaµ½a+bÖ®¼äµÄËæ»úÊý,²»°üÀ¨a+b.ÉÏ·½·¨Êǵ±Í¼Æ¬Îª22ÕŵÃʱºò
//·ÃÎÊ»òˢиÃÒ³Ãæ¿ÉÒÔ²úÉúÒ»¸ö1--22µÄËæ»úÊý
String url=n+".jpg";
<br>
<img src="url" title="">
</body>
</html>


ͼƬÃüÃûΪ£º1.jpg,2.jpg............22.jpg

ÐèÒªÓõ½AJAX°É£¬È»ºó¸ù¾ÝËæ»úÊýÈ¡µÃÕÕƬ£¬¿ÉÒÔÊÇjs


Ïà¹ØÎÊ´ð£º

javascriptʵÏÖÁбíĿ¼ - Web ¿ª·¢ / JavaScript

ÎÒÏëÎÊÒ»ÏÂÈçºÎÓÃjavascript¶¯Ì¬ÊµÏÖÏñÎÒÃÇÕâ¸öÍøÕ¾×ó±ßµÄĿ¼£¬Ð»À²£¡
??


ºÇºÇ£¡Ð»Ð»°¡£¡

¶¥Ò»ÏÂ

ÄãÃÇÊÇʲôÍøÕ¾°¡£¬ÒªÊǺǫ́ÊÇjavaÖ±½Ójsp£¬Èç¹ûºǫ́ÊÇc£¬ÄǾÍÓÃcgiÉú³Éxml£¬js¶¯Ì¬È¥¶ÁxmlµÄÊý¾Ý

Ó ......

Õâ¶ÎJavaScript´úÂëΪʲôÎÞ·¨Ö´ÐÐ - .NET¼¼Êõ / C#

ÒÔÏÂÊÇÒ»¶ÎJavsScript½Å±¾£¬µ«ÔËÐÐʱ×Ü»á²úÉú ¡°Microsoft JScript ÔËÐÐʱ´íÎó: 'null' Ϊ¿Õ»ò²»ÊǶÔÏó¡±Òì³££¬´ó¼Ò°ï¿´Ò»Ï¡£ 
<form id="form1" runat="server">
  < ......

JavaScriptº¯ÊýÒ»¸öºÜÆæ¹ÖµÄÎÊÌâ - Java / Java EE

ÔÚJSPÒ³ÃæÓÐÒ»¸ö<input type="hidden" name="index" value="0">/>¿Ø¼þ
µ±ÎÒÓÃÏÂÃæµÄJavaScriptº¯Êý¸Ä±äÆävalueµÄÖµµÄʱºò Èç¹ûÂú×ãÌõ¼þ£¨¼´i>=3µÄʱºò£©ÎªÊ²Ã´valueµÄ ......

JavaScript ¹Ø±ÕÒ³Ãæ - Web ¿ª·¢ / JavaScript

ÎÒÏëÎÊÒ»ÏÂÈçºÎÔÚ»ðºüÖйرգ¬·Ç½Å±¾´ò¿ªµÄÒ³Ã棬ºÃÏñwindow.close()²»¹ÜÓÃO(¡É_¡É)O~£¬
°Ù¶Èһϣ¬×Ô¼ºÊÔÊÔ

<script language="javascript" type="text/javascript"> 
& ......

javascriptµ÷ÓÃASPº¯Êý - Web ¿ª·¢ / JavaScript

<%
  function getName(num)
  ......
  end function
%>
<script>
  var num=1;
  var xx=<%=getName(num)%>
</script>
ÈçºÎ²ÅÄÜÔÚjava ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ