DOM HTMLCollection

An HTMLCollection object is an array-like list of HTML elements. Methods like the getElementsByTagName() returns an HTMLCollection. Properties and Methods The following properties and methods can be used on a HTMLCollection object: Property / Method Description item() Returns the element at the specified index in an HTMLCollection length Returns the number of elements in an […]

HTML DOM DList Object

DList Object The DList object represents an HTML <dl> element. Access a DList Object You can access a <dl> element by using getElementById(): Example var x = document.getElementById(“myDL”); Try it Yourself » Create a DList Object You can create a <dl> element by using the document.createElement() method: Example var x = document.createElement(“DL”); Try it Yourself » Standard […]

Include Empty Categories in Output

Question “I have some empty categories in my data. For example, none of my respondents filled out “politician” as their job. Therefore, “politician” is completely absent from crosstabs. How can I include it with a zero frequency?” How to include an empty category in a crosstab? Solution The basic solution here is to add one […]

SPSS – Batch Process Files with Python

Running syntax over several SPSS data files in one go is fairly easy. If we use SPSS with Python we don’t even have to type in the file names. The Python os (for operating system) module will do it for us. Try it for yourself by downloading spssfiles.zip. Unzip these files into d:\spssfiles as shown below and you’re good to go. Find All Files […]

Creating PDF indexes

Create and manage an index in a PDF You can reduce the time required to search a long PDF by embedding an index of the words in the document. Acrobat can search the index much faster than it can search the document. The embedded index is included in distributed or shared copies of the PDF. […]

Reading Order tool for PDFs (Acrobat Pro)

Reading Order tool overview The Reading Order tool provides the easiest and quickest way to fix reading order and basic tagging problems. When you select the tool, a dialog box opens that lets you see overlay highlights that show the order of page content. Each highlighted region is numbered and highlighted with gray or colored blocks; the […]

Removing sensitive content from PDFs

Why redact or remove sensitive content?< Before you distribute a PDF, you may want to examine the document for sensitive content or private information that can trace the document to you. Use the Redact tools to remove or redact sensitive images and text that are visible in a PDF. Use the Remove Hidden Information feature to find and remove […]