»ðºü²»ÄÜÓÃJavaScriptÏÔʾ±í¸ñ
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="shop.ascx.cs" Inherits="DesktopModules_Temp_shop" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÎÞ±êÌâÎĵµ</title>
<script type="text/javascript">
function over(tdid) {
tdid.style.backgroundColor = "#999999";
}
function Out(tdid) {
tdid.style.backgroundColor = "Transparent";
}
function showtable(tableid) {
var showGoodsone = document.getElementById("showGoodsone");
var showGoodstwo = document.getElementById("showGoodstwo");
var showGoodsthree = document.getElementById("showGoodsthree");
var showGoodsfour = document.getElementById("showGoodsfour");
var showGoodsfine = document.getElementById("showGoodsfine");
switch (tableid.id) {
case "showGoodsone":
showGoodsfine.style.display = "none";
showGoodsfour.style.display = "none";
showGoodsone.style.display = "block";
showGoodstwo.s
Ïà¹ØÎÊ´ð£º
Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y)
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ
if(x>z)
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ
if(y>z)
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......
ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......
<html>
<head>
<script>
var a=prompt("ÇëÊäÈëÒ»¸öÊý");
if(a==0)
{alert("²»ÊÇÖÊÊý");}
else
{while((a%2)*(a%3)*(a%5)*(a%7)==0)
{alert("²»ÊÇÖÊÊý");br ......
×î½ü ʹÓà js, ¾³£²»ÄÜÉÏÍø, Ï£ÍûÄÄλ´ïÈË ÄÜÌṩһ¸ö
±È½ÏÍêÕûµÄ jsÀëÏßÎĵµ,ÐÂÒ»µã¶ù,ÍêÕûµã¶ùµÄ±È½ÏºÃ,±ÈÈçÉæ¼° dom ÕâЩ
ÇëÖ¸µãÒ»¶þ.
Íò·Ö¸Ðл°¡.
http://download.csdn.net/source/566130
......
ÎÒµÄjspÊÇutf-8£¬ÎÒµÄjsÎļþÔõÑùתΪutf-8ÎÒÏÖÔÚÓõÄÊÇDreamweaver cs3 ÎÒÔÚjspÒýÈëjsʱ¾Í²»ÐС£¡£
»¹Óдó¼ÒÊÇÓÃʲôÀ´±à¼jsµÄ¡£ µ÷ÊÔÄØ
vs2008,eclipse
ÎÒÓÃmyeclipse¸üÐÂ×°spketºÍjseclipseµ«ÊÇ×îºó±¨´í¡£ÀË ......