Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Javascript - How can I find the submit button in the DOM?

Engaged ,
Jun 20, 2017 Jun 20, 2017

Sorry for the somewhat obscure question. 

For certain question slides in my eLearning, I would like to be able to automatically find out the submit button's CSS selector, so that I can use cp.hide() and cp.show() with it.  I've been doing this manually by looking at the DOM after publishing, but because the every submit button has a different css selector, this is annoying.

Is there a way to crawl the DOM on slide enter and find the submit button?

TLCMediaDesign??

Thanks for any help!

- Ryan

138
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Help resources