Compiler
jQuery Manipulation
jQuery Dimensions
Run
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> <style> .box{ width: 200px; height: 200px; padding: 15px; margin: 15px; border: 15px solid #0cdb73; background-color: #00ab55; } </style> </head> <body> <h1>Get Outer-Width & Outer-Height of an Element</h1> <button class="btnGet">Click me</button> <div class="box"></div> <p id="result"></p> <script> $(document).ready(function(){ $(".btnGet").click(function(){ var w = $(".box").outerWidth(); var h = $(".box").outerHeight(); $("#result").html("Outer Width: " + w + ", " + "Outer Height: " + h); }); }); </script> </body> </html>
Editor Commands
Commands
Shortcut Key (Win)
Shortcut Key (Mac)
selectAll
Ctrl-A
Cmd-A
singleSelection
Esc
-
killLine
-
Ctrl-K (Mac)
deleteLine
Ctrl-D
Cmd-D
undo
Ctrl-Z
Cmd-Z
redo
Ctrl-Y
Shift-Cmd-Z, Cmd-Y
undoSelection
Ctrl-U
Cmd-U
redoSelection
Alt-U
Shift-Cmd-U
goDocStart
Ctrl-Home
Cmd-Up, Cmd-Home
goDocEnd
Ctrl-End
Cmd-End, Cmd-Down
goLineStart
Alt-Left
Ctrl-A
goLineEnd
Alt-Right
Ctrl-E
goLineRight
-
Cmd-Right
goLineLeft
-
Cmd-Left
goLineUp
Up
Ctrl-P
goLineDown
Down
Ctrl-N
goPageUp
PageUp
Shift-Ctrl-V
goPageDown
PageDown
Ctrl-V
newlineAndIndent
Enter
-
save
Ctrl-S
Cmd-S