JavaScriptµÄÔËËã·û
deleteÖ»ÄÜɾ³ý¿ª·¢Õß¶¨ÒåµÄÊôÐÔ»ò·½·¨£¬ÔʼµÄECMAScript·½·¨²»ÄÜɾ³ý£¬ÒòΪ²»ÊÇ¿ª·¢Õß¶¨ÒåµÄ£¬±ÈÈ磺toString()¡£
var o = new Object;
o.name = "Nicholas";
delete o.name;
alert(o.name);
ɾ³ýÁËnameÊôÐÔ£¬Òâζ×ÅÇ¿ÖÆ½â³ý¶ÔËüµÄÒýÓ㬽«ÆäÉèÖÃΪundefined¡£
void ¶ÔÈκÎÖµ¶¼·µ»Øundefined¡£
ÓÃÓÚ±ÜÃâÊä³ö²»¸ÃÊä³öµÄÖµ£¬±ÈÈ磺
<a href="javascript:void(window.open('about:blank'))">Click Me</a>
~λÔËËã·û
Àý£º
var iNum1 = 25; //25ÊÇ 00000........011001
var iNum2 = ~iNum1; // ת»»Îª11111........100110
alert(iNum2); //Êä³ö -26
ʵ¼ÊÉÏ£¬¾ÍÊÇÇó¸º ÔÙ¼õÒ»
^ Òì»ò <<×óÒÆ >>ÓзûºÅÓÒÒÆ >>> ÎÞ·ûºÅÓÒÒÆ
Ïà¹ØÎĵµ£º
with(document)
{
write ("test");
write
("dsasfda");
}
ÉÏÃæÊÇÓÃÁËwith
Èç¹û²»Óõϰ¾ÍÒªÕâÑùдÁË
document.write (" ......
//´´½¨Ò»¸öеÄÓû§¶ÔÏ󣬽ÓÊÜÒ»¸öÓÐÐí¶àÊôÐԵĶÔÏó×÷Ϊ²ÎÊý
function User(properties)
{
for(var i in properties){(function(which){
var p=i;
//´´½¨´ËÊôÐÔµÄÒ»¸öеĶÁÈ¡Æ÷(getter)
which["get"+p] = function(){
&nbs ......
ASP.NETÖÐǰ̨javascriptÓëºǫ́´úÂëµ÷ÓÃ
2010-03-31 10:01
.netÖÐC#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃÎÊÌâ¡£
¡¡¡¡ÎÊ£º
¡¡¡¡1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
¡¡¡¡2.ÈçºÎÔÚJavaScript·ÃÎÊC#±äÁ¿?
¡¡¡¡3.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptµÄÒÑÓбäÁ¿?
¡¡¡¡4.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptº¯Êý?
¡¡¡¡ÎÊÌâ1´ð°¸ÈçÏ£º
¡¡¡¡javaScriptº¯ ......
javascript³õѧÕß
——È«ÃæÑ§Ï°¶ÔÏó¸ÅÄî
±¾ÎĽéÉÜÁ˼¸ºõËùÓйØÓÚ¶ÔÏóµÄ»ù±¾¸ÅÄʲôÊǶÔÏó£¬ÈçºÎ´´½¨¶ÔÏ󣬶ÔÏóµÄÊôÐÔµÄÉèÖúͶÁÈ¡£¬É¾³ýÊôÐԵķ½·¨£¬¹¹Ô캯Êý£¬¶ÔÏóÔÐÍ£¬¸¸À࣬×ÓÀ࣬¼Ì³ÐµÈµÈ¡£
1.¶ÔÏó
* ¶ÔÏóÊÇÒ»ÖÖ¸´ºÏÊý¾ÝÀàÐÍ£¬ËüÃǽ«¶à¸öÊý¾ÝÖµ¼¯ÖÐÔÚÒ»¸öµ¥ÔªÖУ¬¶øÇÒÔËÐÐʹÓÃÃû×ÖÀ´´æÈ¡ÕâЩֵ¡£½âÊ ......
1.Dean Edwards±àдµÄPacker£¨http://dean.edwards.name/packer/£©£¬ÓÃÓÚѹËõJavaScript
2.»ñÈ¡JQuery£ºhttp:/jquery.com
http://docs.jquery.com/Downloading_jQuery ÏÂÔØ¸÷¸ö°æ±¾¼°ÏàÓ¦°ïÖúÎ ......