\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Dave Child (DaveChild)} \pdfinfo{ /Title (jquery.pdf) /Creator (Cheatography) /Author (Dave Child (DaveChild)) /Subject (jQuery Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{0769AD} \definecolor{LightBackground}{HTML}{EFF5F9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{jQuery Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Dave Child (DaveChild)} via \textcolor{DarkBackground}{\uline{cheatography.com/1/cs/2214/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Dave Child (DaveChild) \\ \uline{cheatography.com/davechild} \\ \uline{\seqsplit{aloneonahill}.com} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 10th May, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{jQuery Links and Info}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{jQuery Homepage} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}http://jquery.com/} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{jQuery Documentation} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}http://api.jquery.com/} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{This cheat sheet based on, and intended to provide a printable version of, the excellent jQuery cheat sheet by @misteroom} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}\seqsplit{http://oscarotero.com/jquery/}} \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Cheat sheet based on jQuery 1.10.} \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.78712 cm} x{2.18988 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Basic}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & \{\{nobreak\}\}{\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/all-selector/"\}\}* & Matches all elements \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/class-selector/"\}\}element & Elements of type "element" \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/element-selector/"\}\}.class & Elements with class "class" \tn % Row Count 13 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/id-selector/"\}\}\#id & Element with id "id" \tn % Row Count 16 (+ 3) % Row 5 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/multiple-selector/"\}\}\#id1, \#id2 & Use commas to separate selectors \tn % Row Count 20 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Hierarchy}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/child-selector/"\}\}parent \textgreater{} child & Match any child which is directly within parent \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/descendant-selector/"\}\}ancestor descendant & Match any descendant contained within ancestor \tn % Row Count 11 (+ 5) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/next-adjacent-Selector/"\}\}prev + next & Match next where it follows prev \tn % Row Count 15 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/next-siblings-selector/"\}\}prev \textasciitilde{} siblings & Match all siblings where following prev \tn % Row Count 20 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.78712 cm} x{2.18988 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Basic Filters}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Selector}} & {\bf{Description}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/animated-selector/"\}\}:animated & Has animation in progress \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/eq-selector/"\}\}:eq(n) & At position "n" in set \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/even-selector/"\}\}:even & Even elements in set \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/first-selector/"\}\}:first & First element in set \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/gt-selector/"\}\}:gt(n) & After position "n" in set \tn % Row Count 17 (+ 3) % Row 6 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/header-selector/"\}\}:header & All headers (h1, h2 etc) \tn % Row Count 21 (+ 4) % Row 7 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/lang-selector/"\}\}:lang(x) & Has lang attribute set to "x" \tn % Row Count 25 (+ 4) % Row 8 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/last-selector/"\}\}:last & Last element in set \tn % Row Count 28 (+ 3) % Row 9 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/lt-selector/"\}\}:lt(n) & Before position "n" in set \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.78712 cm} x{2.18988 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Basic Filters (cont)}} \tn % Row 10 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/not-selector/"\}\}:not(x) & In set not matching selector "x" \tn % Row Count 3 (+ 3) % Row 11 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/odd-selector/"\}\}:odd & Odd elements in set \tn % Row Count 6 (+ 3) % Row 12 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/root-selector/"\}\}:root & Document root \tn % Row Count 9 (+ 3) % Row 13 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/target-selector/"\}\}:target & Has ID equal to URL fragment \tn % Row Count 13 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Content Filters}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/contains-selector/"\}\}:contains(x) & Elements containing text "x" \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/empty-selector/"\}\}:empty & Elements with no children \tn % Row Count 10 (+ 4) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/has-selector/"\}\}:has(x) & Elements containing elements matching selector "x" \tn % Row Count 14 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/parent-selector/"\}\}:parent & Elements with at least one child \tn % Row Count 18 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.03597 cm} x{1.94103 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Visibility Filters}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & \{\{nobreak\}\}{\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/hidden-selector/"\}\}:hidden & Hidden elements \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/visible-selector/"\}\}:visible & Visible elements \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Attributes}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/has-attribute-selector/"\}\}{[}name{]} & Has attribute "name" \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-equals-selector/"\}\}{[}name="val"{]} & Where "name" equals "val" \tn % Row Count 11 (+ 5) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-contains-prefix-selector/"\}\}{[}name|="val"{]} & Where "name" equals "val" or starts "val-" \tn % Row Count 16 (+ 5) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-contains-selector/"\}\}{[}name*="val"{]} & Where "name" contains "val" \tn % Row Count 21 (+ 5) % Row 5 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-contains-word-selector/"\}\}{[}name\textasciitilde{}="val"{]} & Where "name" contains "val" as a word \tn % Row Count 26 (+ 5) % Row 6 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-starts-with-selector/"\}\}{[}name\textasciicircum{}="val"{]} & Where "name" starts with "val" \tn % Row Count 31 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Attributes (cont)}} \tn % Row 7 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-ends-with-selector/"\}\}{[}name\$="val"{]} & Where "name" ends with "val" \tn % Row Count 5 (+ 5) % Row 8 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/attribute-not-equal-selector/"\}\}{[}name!="val"{]} & Missing attribute "name", or "name" does not equal "val" \tn % Row Count 10 (+ 5) % Row 9 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\{\{popup="http://api.jquery.com/multiple-attribute-selector/"\}\}Attribute selectors can be combined like so: {[}name="val1"{]}{[}name2="val2"{]}} \tn % Row Count 13 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Child Filters}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/first-child-selector/"\}\}:first-child & Elements which are the first child of their parent \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/first-of-type-selector/"\}\}:first-of-type & Elements which are, of their element type, the first child \tn % Row Count 11 (+ 5) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/last-child-selector/"\}\}:last-child & Last child of their parent \tn % Row Count 15 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/last-of-type-selector/"\}\}:last-of-type & Of their element type, the last child \tn % Row Count 19 (+ 4) % Row 5 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/nth-child-selector/"\}\}:nth-child(n)\textasciicircum{}1\textasciicircum{} & Elements which are the nth child of their parent \tn % Row Count 23 (+ 4) % Row 6 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/nth-last-child-selector/"\}\}:nth-last-child(n)\textasciicircum{}1\textasciicircum{} & As :nth-child, but counting from last element in set backwards \tn % Row Count 28 (+ 5) % Row 7 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/nth-of-type-selector/"\}\}:nth-of-type(n)\textasciicircum{}1\textasciicircum{} & As nth child, but matching by element \tn % Row Count 33 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Child Filters (cont)}} \tn % Row 8 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/nth-last-of-type-selector/"\}\}:nth-last-of-type(n)\textasciicircum{}1\textasciicircum{} & As :nth-of-type, but counting from last element in set backwards \tn % Row Count 5 (+ 5) % Row 9 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/only-child-selector/"\}\}:only-child & Elements which are only child of their parent \tn % Row Count 9 (+ 4) % Row 10 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/only-of-type-selector/"\}\}:only-of-type & Elements which are only child, of their element type, of their parent \tn % Row Count 13 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textasciicircum{}1\textasciicircum{} These selectors are 1-indexed, not 0-indexed} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Forms}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nobreak\}\}{\bf{Selector}} & \{\{nobreak\}\}{\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/button-selector/"\}\}:button & Button elements \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/checkbox-selector/"\}\}:checkbox & Checkbox elements \tn % Row Count 10 (+ 4) % Row 3 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/checked-selector/"\}\}:checked & Checked elements \tn % Row Count 14 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/disabled-selector/"\}\}:disabled & Disabled elements \tn % Row Count 18 (+ 4) % Row 5 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/enabled-selector/"\}\}:enabled & Enabled elements \tn % Row Count 22 (+ 4) % Row 6 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/focus-selector/"\}\}:focus & Elements with focus \tn % Row Count 25 (+ 3) % Row 7 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/file-selector/"\}\}:file & File elements \tn % Row Count 28 (+ 3) % Row 8 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/image-selector/"\}\}:image & Image elements \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{jQuery Selectors: Forms (cont)}} \tn % Row 9 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/input-selector/"\}\}:input & Input, textarea, select or button \tn % Row Count 3 (+ 3) % Row 10 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/password-selector/"\}\}:password & Password elements \tn % Row Count 7 (+ 4) % Row 11 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/radio-selector/"\}\}:radio & Radio elements \tn % Row Count 10 (+ 3) % Row 12 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/reset-selector/"\}\}:reset & Reset elements \tn % Row Count 13 (+ 3) % Row 13 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/selected-selector/"\}\}:selected & Selected elements \tn % Row Count 17 (+ 4) % Row 14 \SetRowColor{white} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/submit-selector/"\}\}:submit & Submit elements \tn % Row Count 21 (+ 4) % Row 15 \SetRowColor{LightBackground} \{\{nobreak\}\}\{\{popup="http://api.jquery.com/text-selector/"\}\}:text & Text elements \tn % Row Count 24 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}