Learn R Programming

samatha (version 0.41)

javascript.tag: Functions for creating HTML elements. These are all wrappers around the m() function javascript tag representation

Description

Wraps the script string in script tags and a CDATA section

Usage

javascript.tag(script)

Arguments

script
character string representation of javascript code

Value

character

Examples

Run this code
javascript.tag("Some javascript")

Run the code above in your browser using DataLab