0

I forget how to do this in the Moovweb SDK

Currin Berdine
  • 287
  • 1
  • 10

1 Answers1

5

Assuming this is your HTML:

<div class="foo bar"></div>

You can use the XPath contains() function:

$("div[contains(@class, 'foo')]") {
  # More Tritium here...
}
Zkoh
  • 2,932
  • 3
  • 18
  • 14