Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : javascript

¹ØÓÚjavascriptµÄÀí½â

JScript code:

var obj ={
yes : function() {this.val = true;},
no : funciton (){this.val = false;}
}
Ò»Ö²»ÊǺÜÀí½âÕâ¾ä»°£¬²»ÖªµÀÕâÀïµÄyesºÍnoÔõôÀí½â¡£
http://www.cnblogs.com/eastday/archive/2010/03/04/1678477.html

var a= ......

ÔõôÓÃJavaScriptµÃµ½SessionÖеÄÖµ

function getusername()
 {
  var username = "<%=Session.getAttribute("adminName")%>";
  alert(username);
  
 }
Ìáʾ£ºSessionÖÐûÓж¨ÒågetAttribute·½·¨¡­
lz ÊÇ·ñÃ÷°×session ÊÇʲô ×÷ÓÃÓò ÔÚÄĶù£¿

lz ÊÇ·ñÃ÷°× JavaScript ÊÇʲà ......

À´ÈË°ïÎÒ¿´¿´Ñ½£¬ÓйØJavaScriptµÄ

JScript code:

function submitForm() {
var err = false;
var submited = false;
if (!submited) {
if (!checkItem("txtUserName")) {
if (!err) {
err = true;
}
......

javascript ¼ÓÃÜÓû§Ãû¼°ÃÜÂëÐÅÏ¢ÎÊÌâ

×î½üÅöµ½Á˸öÎÊÌâûÓнâ¾ö£¬Ï£Íû¸÷λ¸çÃǸø¸öÒâ¼û»òÊÇÌáÒé¡£
ÏîÄ¿ÓиöÐèÇó£ºÔÚǰ̨½«Óû§Ãû¼°ÃÜÂëÐÅÏ¢¼ÓÃÜ£¬Ç°Ì¨Ê¹ÓõÄÊÇjsp,ÔÚºǫ́ÐèÒª½«Óû§Ãû¼°ÃÜÂëÐÅÏ¢½øÐнâÃÜ£¬ºǫ́ÓõÄÊÇJava servlet¡£ÎÒ³õ²½ÊÇÏëÓÃrsa·Ç¶Ô³Æ¼ÓÃÜËã·¨À´×ö£¬Ç°Ì¨Ê¹ÓÃjavascriptÓ빫Կ½øÐмÓÃÜ£¬È»ºóÔÚºǫ́ʹÓÃ˽Կ½øÐнâÃÜ¡£¶øÇÒÔÚÍøÉÏÕÒµ½ÁËÁÐ×Ó£ºh ......

javascript×Ô¶¯¼ÆËã×ܼÛ

ÎÒ×öÒ»¸ö¹ºÎï³µ£¬Ïë¼ÆËãÿ¼þÉÌÆ·µÄ¼Û¸ñ£¡µ±ÊäÈëÊýÁ¿Ê±£¬¾Í»á×Ô¶¯¼ÆËã³öС¼Æ£¬È»ºóÔÙ°ÑËùÓеÄС¼Æ¼ÓÆðÀ´Ëã³ö×ܼÆ..ÕâÑù¿ÉÐÐÂ𣿣¿ÎÒ×öµÄ¶¼ÏÔ²»µ½½á¹ûµÄ£¡¶¼ÊÇÏÔʾNaN...Çë½Ì¸÷λ¸ßÊÖÈçºÎд²ÅÄÜʵÏÖÕâ¸ö¹¦ÄÜ£¡
  ±íµ¥£º <td>  
<input type="text" id="saleprice&q ......

javascript ±àÂë¸ñʽÎÊÌâ

ÎÒµÄjspÊÇutf-8£¬ÎÒµÄjsÎļþÔõÑùתΪutf-8ÎÒÏÖÔÚÓõÄÊÇDreamweaver cs3 ÎÒÔÚjspÒýÈëjsʱ¾Í²»ÐС£¡£
»¹Óдó¼ÒÊÇÓÃʲôÀ´±à¼­jsµÄ¡£ µ÷ÊÔÄØ
vs2008,eclipse

ÎÒÓÃmyeclipse¸üÐÂ×°spketºÍjseclipseµ«ÊÇ×îºó±¨´í¡£ÀË·ÑÁËÎÒµÄÁ÷Á¿ºÍʱ¼ä

myeclipse...


лл¡£¡£
......
×ܼǼÊý:938; ×ÜÒ³Êý:157; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [16] [17] [18] [19] 20 [21] [22] [23] [24] [25]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ