I have a piece of my app working. I can do a search for a bible book, chapter, verse and return the results into a div using the dojo plugin.
The next and previous buttons work fine as well. However, I want to have more options within the results.
In the results next to every verse number I want to place a button, link, whichever, that when clicked will open a div below the verse. This
div will offer options to bookmark, highlight, etc. the verse.
I get the button to show up but when I click it I get nothing. The action is not being called for any of the buttons.
I'm using the "bind" example from the showcase app from the struts download. I'm trying to create new divs and buttons on the fly as I iterate
over the list of verses. As its in an ajax results div, I can't see the html code generated.
Does anybody have an idea as to how to achieve the desired results?
Here is the .jsp that is called into the results div. The "#bibId: <s:property value="bibId" />" line shows the correct bibId for each verse.