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

[javascript]¶àÐÐTextBox»Ø³µ»»ÐУ¬¹â±êÒƵ½×îĩβ

Ò³ÃæÆÁ±ÎÁ˻سµ£¬½á¹û¶àÐÐÊäÈëµÄTextbox±¯¾çÁË£¬Ö»ÄÜÓÃjsÖØд»Ø³µÊ¼þ£¬±¸·ÝÒ»ÏÂ
pageloadÀï
 txt_eng.Attributes.Add("onkeypress", "enter(this)");
js£º
function enter(obj) {
            if (event.keyCode == 13) {
                obj.value = obj.value + '\n';
                var r = obj.createTextRange();
                r.moveStart('character', obj.value.length);
                r.collapse();
                r.select();           
            }
        }
       


Ïà¹ØÎĵµ£º

[ת]javascriptÅжÏä¯ÀÀÆ÷ÀàÐÍÓë°æ±¾

ÒªÏëд³ö¿çä¯ÀÀÆ÷µÄjavascript£¬¾Í±ØÐ붮µÃÐá̽¼¼Êõ¡£ÕâÊÇä¯ÀÀÆ÷´óÕ½ÒÅÁôϵĴóµØÀ×£¬ÊÂÒÑÈç´Ë£¬Ö»ºÃÈÏÃü£¬¹Ô¹Ôд·ÖÖ§½á¹¹°É£¬º¯Êý¾ÍÊÇÕâÑù²»Öª²»¾õÖб䳤µÄ¡£
ÏÈ¿´µ¥Ò»ä¯ÀÀÆ÷µÄÅжϣ¬ÎÒÃÇûÓбØÐëÈ¥ÕÒnavigator.userAgentµÄÂé·³£¬ÎÒÔÚ¹úÍâµÄ²©¿ÍÍøÕ¾ÊÕ¼¯ÁËÈçÏÂhack£¬¶ÌС¾«º·£º
 
ie = !+"\v1" ;
ie ='\v'=='v' ; ......

JavaScript ¿ò¼Ü±È½Ï


JavaScript ¿ò¼Ü±È½Ï
ÏÔÖøÔöÇ¿ JavaScript ¿ª·¢µÄ¿ò¼Ü¸ÅÀÀ
Joe Lennon, Èí¼þ¿ª·¢ÈËÔ±, ×ÔÓÉÖ°ÒµÕß
¼ò½é£º ÏÖ´ú Web Õ¾µãºÍ Web Ó¦ÓóÌÐòÇãÏòÓÚÒÀÀµ´óÁ¿¿Í»§¶Ë JavaScript À´Ìṩ·á¸»µÄ½»»¥¹¦ÄÜ£¬ÓÈÆäÊÇÒì²½ HTTP ÇëÇóµÄ³öÏÖʹµÃ²»Ë¢ÐÂÒ³Ãæ¾Í¿ÉÒÔ´Ó·þÎñÆ÷¶Ë½Å±¾»òÊý¾Ý¿âϵͳ·µ»ØÊý¾Ý»òÏìÓ¦¡£ÔÚ±¾ÎÄÖУ¬Äú½«Á˽âÈçº ......

ÓÃjavascript²Ù×÷cookie¼òµ¥ÊµÀý

´úÂëÖ÷ÒªÊDzÙ×÷cookieµÄÁ½¸öº¯Êý£ºÒ»¸öÊÇsetCookieÓÃÓÚÉèÖÃcookieµÄÖµ£¬ÁíÍâÒ»¸öÊÇgetCookie ÓÃÓÚÈ¡cookieµÄÖµ£¬ÊµÏÖÁ˼òµ¥µÄcookie´æÈ¡²Ù×÷£¬ºÜ¼òµ¥£¬´úÂëÈçÏ£º
<mce:script language="JavaScript" type="text/javascript"><!--

function setCookie(name,value)
{
//ÓÃÓÚ´æ´¢¸³Öµ¸ødocument.cookieµÄc ......

javascriptÎÞ·ì¹ö¶¯Ô´Âë

MarqueeͼƬÎÞ·ì¹ö¶¯¹Ø¼ü´Ê£º Marquee                                          
ÏÈÁ˽âһϠ......

[ת]aspµÄtextboxµÄjavascriptÓ¦ÓÃ

<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server"> </script>
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">
<title ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ