Hi. I have been searching for ages for this - it seems to fundamental I am sure I am just being blind, so apologies if this has been answered elsewhere.
I have some jsp like this (this is a part of the table, to keep things simple):
I also have the following js:
This works fine, of course. But I am trying to get the values of p.getName() and p.getDescription() in the jquery call (as I say, the file is a jsp file so the values do get filled in).
I could reference them separately within the <a> tag,t though when I try that
Firstly the editor (eclipse) doesn't like embedding <ul> (or div, etc) within <a>. Secondly, even with this coded I can't seem to get at the variables.
I could also include the whole table with the <a>, but again the editor doesn't like tables embedded this way. Can anyone point me in the right direction? I have looked though the forums but must be missing it - it seems too basic for it not to have been covered.