javascript in poll dolphin 7.2

For a rebuild of the poll-module I need to know the variable names of the different answers ('_answer_' == "1") for instance to refer to the first answer?

Thanks for help

Quote · 19 Sep 2023

Hello DR_U!

 

Every poll has the unique id looks like dpol_current_vote_[autoincremented_ID] and every input name like vote_[same ID]. So based on this info you may extract the first variant for example with the JQuery ools like:

$("#dpol_current_vote_[autoincremented_ID] input[name='vote_[same ID]']").first();

Quote · 20 Sep 2023
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.