hey there,
first of all, thanks for your support. it's much appreciated.
i'm afraid i don't get this to work, yet.
first of all: the test script on your link works flawless. a little pop-up with "test" pops up.
so i guess, there seems to be a problem with the code:
i don't know much about js, but i checked this code on jslint.com.
1. jslint suggests using "!==" instead of "!="
2. there seems to be a ";" missing on the line "$(this).val('')"
i can't say anything about the first suggestion, but with regard to the general structure of the code, the second suggestion should be right.
however, even if i alter these code snippets, the code isn't working for me.
are the questionids really '11' or '22' and nothing like 11111X1X11 or 111111X1X22 (the check is on the same page)? or do i need to add any suffixes or prefixes?
from what i understand, '11' and '22' should be working, as the code concatenates the value of the variable with '#question', so that the code calls the elements with the div id=question11/question22'. nevertheless, i try to give as much information as possible in order to narrow down the problem.
i also placed the code in the group description as well as in both of the email questions. the placement had no effect, but if it had, it would probably be surprising.
i guess my main problem is, that i don't understand the core elements of the code and therefore i'm not able to find out, where the code goes wrong. any ideas?
cheers,
johan