Hey everyone.
I am working on adding a 'search' field to a page and I'm using ajax to update the content of the page. When someone types a letter into the search box, the page content updates based on what they type. I have this all working as far as the Ajax & updating and whatever goes, but my problem is that I need to be able to get info based on what is displayed.
The content that get's updated is a list of checkboxes and descriptions. I need to be able to record which checkboxes have been checked/unchecked. I can get the ajax part working and I can get the recording of the checkboxes working, but not together. When the page content updates, it doesn't actually get written to the page, so there aren't any checkbox elements for me to examine.
So really what my question is is does anyone know of a way to replace content between two tags with javascript so that I can have my list of checkboxes to look through? OR does someone know a better way to do what I'm trying to do that doesn't require writing to the page?
Thanks