- This topic has 0 replies, 1 voice, and was last updated 11 years, 11 months ago by uwantfries.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
uwantfriesMemberHello I am trying to use the SelectList and SelectListItems
In the designer the List is called list1 – OK
In the designer the items are called Answer1 to Answer4 but in the HTML generated the names seem to have gone to pot (see below).
Am I doing something wrong? I would expect to use the jQuery selector like $(‘#m1-Quizpage-Answer1’).text(‘Answer 1 here’); but instead I am having to look for random numbers.<ul id="m1-Quizpage-list1" class="m1-rounded-list m1-selection-list m1-immediate-change-fire m1-list" data-multiple="false" data-hiddeninputid="m1-Quizpage-hidden-select-list1" style="height: 176px; top: -220px;"> <li id="m1-Quizpage-" class="m1-first m1-clickable m1-highlight m1-font-5 m1-icon-1 m1-icon-2 m1-icon-3 m1-icon-4 m1-icon-5 m1-effect-1" data-val="Item"> <label id="m1-Quizpage-2" class="m1-active-color-1">Item</label> </li> <li id="m1-Quizpage-3" class="m1-clickable m1-highlight m1-font-5 m1-icon-1 m1-icon-2 m1-icon-3 m1-icon-4 m1-icon-5 m1-effect-1" data-val="Item"> <label id="m1-Quizpage-4" class="m1-active-color-1">Item</label> </li> <li id="m1-Quizpage-5" class="m1-clickable m1-highlight m1-font-5 m1-icon-1 m1-icon-2 m1-icon-3 m1-icon-4 m1-icon-5 m1-effect-1 m1-selected" data-val="Item"> <label id="m1-Quizpage-6" class="m1-active-color-1">Item</label> </li> <li id="m1-Quizpage-7" class="m1-last m1-clickable m1-highlight m1-font-5 m1-icon-1 m1-icon-2 m1-icon-3 m1-icon-4 m1-icon-5 m1-effect-1" data-val="Item"> <label id="m1-Quizpage-8" class="m1-active-color-1">Item</label> </li> </ul>
-
AuthorPosts
Viewing 1 post (of 1 total)