I am using an AJAX type-ahead feature in a web page. I am using:Ajax 4 Suggest (backend independant) download | SourceForge.net
and
http://www.nsftools.com/tips/NotesTips.htm#notessuggest
I have a LotusScript agent that retrieves the values to display for the type-ahead feature. This agent uses a view to search for the values. The view is based on a radio button value on the web page. The radio button has a default value, so the agent runs fine.
However, if the radio button changes, the agent still uses the original/default value. I don’t want to refresh the page just to get the radio button value to the back end and processed by the agent.
I thought about the HTTP_Cookie CGI variable and setting the cookie through the onClick event on the radio button, but I think the web page would have to be refreshed to get the correct value to the agent.
I saw these posts, but not sure how to implement or not sure if they will accomplish what I want to do:
I think this is an easy fix, but I am not an AJAX expert just yet…
Thanks!
Dan