usesJS | R Documentation |
These two functions allow us to query if the HTML form uses JavaScript code in the action/method or input elements. If so, static analysis of the form is more complicated if not impossible and we need to be able to evaluate the JavaScript code to determine possible arguments, values and input elements. This uses heuristics to determine if JavaScript code is present by analyzing the attributes of the input elements and the form itself.
usesJS(form)
form |
a description of the HTML form of interest,
returned by |
A logical value indicating if the form uses JavaScript code (TRUE
).
Duncan Temple Lang
getHTMLFormDescription
createFunction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.