Q Help Help Center home page
Contact Us Technical Documentation Free trial Book a demo
Sign in
  1. Q Help
  2. Write Code
  3. JavaScript

JavaScript

Follow New articles New articles and comments

QScripts

  • How to Use Scripts to Automate Data Checking and Cleaning
  • How to Modify Tables via QScript
  • How to Add Folders and Text Outputs via QScript
  • How to Create a Chart via QScript
  • How to Create Tables and R Calculations via QScript
See all

General

  • Rules, QScript Macros and When To Use Them
  • How to Work with JavaScript Arrays and Loops
  • How to Manipulate Strings Using JavaScript
  • How to Work with Conditional JavaScript Formulas
  • How to Troubleshoot JavaScript Code in Q
See all

Rules

  • How To Create a QScript To Insert a Custom Rule
  • How to Use Rules to Recode Variable Attributes
  • How to Create a Custom Rule
  • How to Add a Custom Table Footnote
  • How to Modify Table Cells Using a Rule
See all
  • How to Generate Random Numbers: Uniform Distribution from 0 to 1
  • How to Generate Random Numbers: Poisson Distribution
  • How to Calculate the Difference Between Time Stamps
  • How to Set Conditional Controls in a Custom Analysis Tool
  • How to Create Variables Across Data Files Using JavaScript
  • How to Create Text Variables Using JavaScript
  • How to Create A Crosstab In JavaScript
  • How the Access All Rows option in the JavaScript Variables Dialog Box Works
  • How to find the highest rated item within a set of questions
  • How to Compare your Results to the Previous Period in Q
  • How to Identify Duplicates in Q Using Code
  • How To Create a Unique ID from an ID Variable That Contains Duplicates
  • How to Convert Timestamps into Numerical Values in Q

Can’t find your answer?

Q Help