Classic ASP async treeview and radio buttons causing problem updating radio values on POST submit
I've got another question pertaining to the treeview plugin. I'm using an async tree view to represent listing categories in a classified add site. My server side component is a classic asp page (I know, I know). I am representing the leaves of this tree as radio buttons, that when selected should be used to update the category that describes a particular listing.
Here's the problem, since the radio buttons are not on the page when it is initially rendered, I can't get the value of the radio buttons when I post back since they are not on the page when the form is initially rendered into the DOM. I thought I might be able to embed javascript (onclick) on each radio to update a hidden field's value, however it appears that embedding javascript into JSON makes it invalid :(.
Can some please confirm my suspicion about the invalid JSON, or alterntely propose a different solution to getting the selected radio button's value?