Questionnaire - Javascript Fun Tips: Difference between revisions
From Catglobe Wiki
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Basic Hints == | == Basic Hints == | ||
Questionnaire viewer is implemented in a way that you can add javascript to manipulate the way your questions are displayed. | Questionnaire viewer is implemented in a way that you can add javascript to manipulate the way your questions are displayed. Â | ||
 | |||
jQuery is already included in the viewer, thanks to what javascript has even more powerful effect! (read more about jquery here: [http://jquery.com/ http://jquery.com/]) Â | |||
Javascript is a property on both question and questionnaire levels, which means that you can add javascript for each question or for the whole questionnaire. Â | Javascript is a property on both question and questionnaire levels, which means that you can add javascript for each question or for the whole questionnaire. Â | ||
Revision as of 09:22, 18 December 2008
Basic Hints
Questionnaire viewer is implemented in a way that you can add javascript to manipulate the way your questions are displayed.
jQuery is already included in the viewer, thanks to what javascript has even more powerful effect! (read more about jquery here: http://jquery.com/)
Javascript is a property on both question and questionnaire levels, which means that you can add javascript for each question or for the whole questionnaire.
The most important features are:
- quest: the current question's object
- questioncheck: the function that will be called before going Next