Skip to main content
Nintex Community Menu Bar

How can we defined NWF$ in Nintex Javascript (for forms or workflows) ?

  • May 30, 2016
  • 1 reply
  • 147 views

Forum|alt.badge.img+6

Hello guys,

I've always work with Javascript when I developped Nintex Forms or Nintex Workflows and I have just a question.

I often see in my code : NWF$ for example : NWF$(this).find(":selected").text()

I know that the NWF is for the DOM but someone can help me to understand what's the DOM ? What is it composed ?

Thx everyone.

Théo

1 reply

Forum|alt.badge.img+8

In jQuery, the $ sign it's just an alias to jQuery(), then an alias to a function. The syntax is basically: $(selector).action()

  1. A dollar sign to define jQuery
  2. A (selector) to "query (or find)" HTML elements
  3. A jQuery action() to be performed on the element(s)

Does this help? the NWF$ is just the redefine of the jQuery alias since it's packaged up internally with Nintex.