I believe that I did not express clearly.
I want something like:
$($("#id").anotherElement).change();
If I try:
JQuery.$(JQuery.$(wicketComponent).attr('anotherElement')).change() it
will double quote the inner expression
I solved the problem doing this:
JQuery.$().appendRawCharSequence("(" + JQuery.$
(wicketComponent).attr('relElement') + ")").change();