JavaScript tips
Capture event source object event.srcElement.tagName event.srcElement.type release event.srcElement.setCapture (); event.srcElement.releaseCapture (); keypress event event.keyCode event.shiftKey event.altKey event.ctrlKey return value event. ReturnValue mouse location Event.x Event.Y Form Activity Element Document.ActiveEleMent Binding Event Document.captureEvents (Event.KeyDown); Access Form Element Document.all ("TXT"). Focus (); Document.all (" txt ".) select (); form command document.execCommand form COOKIE document.cookie menu events document.oncontextmenu create an element document.createElement (" SPAN "); get all the elements according to the mouse: document.elementFromPoint (event.x, event .tagname == "TD Document.ElementFromPoint (Event.x, Event.y) .Appendchild (ms) Form Document.Images [Index] Forms Bind Document.οnmοusedοwn = ScrollWindow; Elements Document. Window Body .Elements [index] object binding event Document.all.xxx.detachevent ('onclick', a); plugin Navigator.plugins Type TypeOf ($ JS_LIBPATH) == "undefined" drop-down box dropped box .options [ Index] drop-down box .Options.Length lookup object document.getlementSbyName ("r1"); document.getlementById (ID); Timer = setInterval ('scrollwindow ()', delay); ClearInterVal (Timer); U NCODE encoding escape (), UNESCAPE Parent Object Obj.parentelement (DHTML) Obj.ParentNode (DOM) row TableID.MOVEROW (2, 1) Replace CSS Document.All.css.href = "a.css"; side by side Display: inline hidden focus hidefocus = true = "word-break: break-all" automatic refresh Quick Go to location obj.Scrollintoview (TRUE) anchor Anchors web page delivery parameter location.search (); editable Obj.conteTedITable =
True Execute Menu Command Obj.execCommand Double-character / [^ / X00- / XFF] / Chinese Character / [/ U4E00- / U9FA5] / Let the English string beyue the table width automatic wrap Word-Wrap: Break-Word; Word- Break: Break-all; Transparent background
A source on page word asp: request.servervariables ( "HTTP_REFERER") javascript: document.referrer release memory CollectGarbage (); prohibition of the right document.oncontextmenu = function ( {RETURN FALSE;} Forbidden to save