Matthew Lagace wrote:
Sorry hehe, well when I click on the item I want, I tried
to put an observer on the select id="mediaType",
Is the observer firing? What do you see in Firebug when you click an item?
then i wanted to put in my RJS template something like
if page[:mediaType][:value] = 'Game'
What is this? Is this how you're trying to get the value returned when the user makes a selection? Cause it ain't the way to do it. Post the relevant code from the view that generates the request, the controller method that gets invoked, and the RJS template. Then we can give you some guidance.
Have you worked with RJS before? If not, I highly recommend Cody Fauser's PDF at O'Reilly: "RJS Templates". It's $10 you'll be glad you spent.