Hi,
I have produced a form in jsp that has a search button. When the user clicks the search button a second jsp pops up and prompts the user to enter some search criteria. The criteria brings back a list of company names, just a list straight from the result set, this is NOT an input field or a textarea. Now when the user clicks on one of these companies the second pop up jsp closes and populates a field in the first jsp. My problem is that it keeps populating the 1st jsp with “undefined”. I believe that it may have something to do with the way I am outputing my company list as I want the user to be able to click on the company name but am not sure how to remedy this. Can someone help?
Thanks
I believe this is the line of code that is not working for me…
out.println(“<td class=”tabletextcol”><a href=”javascript:void(0)”onClick=”parent.closeSearch(search,opener.document.all.newpartner)”>” + account.getOrg() + “</a></td>”);