Get web page radio button value to back end without refresh

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:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/b1a8d028492af67785257074006e1cbb?OpenDocument

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/cac36787cbeb4a75852570ab0052e444?OpenDocument

I think this is an easy fix, but I am not an AJAX expert just yet…

Thanks!

Dan