Workarounds: Manipulating a survey at runtime using Javascript: Difference between revisions
From LimeSurvey Manual
Duvemyster (talk | contribs) (Correction to meioMask sample code for LS 2.05+) |
No edit summary |
||
Line 14: | Line 14: | ||
(in the sample code provided after #5) | (in the sample code provided after #5) | ||
May 13, 2022: shouldn't we update this page with examples that work only on 3.x and 5.x versions and transfer older solution to some kind of archive? |
Latest revision as of 12:48, 13 May 2022
Regarding the [| meioMask] example, in 2.05+ there seems to be a problem with the following code sample not being recognized:
// Tell the plugin to apply masks to these inputs $('input:#answer111111X22XAA').setMask();
Removing the colon after "input" is one way of correcting this, as follows:
// Tell the plugin to apply masks to these inputs $('input#answer111111X22XAA').setMask();
(in the sample code provided after #5)
May 13, 2022: shouldn't we update this page with examples that work only on 3.x and 5.x versions and transfer older solution to some kind of archive?