Ruby on Rhodes using ajax call
问题 I am trying to build a dynamic dropdown in ruby on rhodes.There are basically two dropdowns on my screen and i am using ajax to get the values of the second dropdown from the database depending on the value selected in the first dropdown..I am a newbie to ruby and do not know the syntax on how to use ajax in ruby on rhodes.. JavaScript Code I am using... $.post("/app/Settings/dropdown", { value:a }, function(data){ alert(data); }); -----Partial Controller Code enter code here def dropdown @a