Topic: passing a querystring param in link_to_function
my rhtml has the script mentioned below, however, I dont have a form tag.
model_attribute mentioned in the script is a text field name in the same html.
<%= link_to_function 'showDesc', 'document.location.href="/adf_sku_group/showDesc?descr="+$("model_attribute") ' %>
it appears to me that there is something missing, I am unable to retrieve the value of the querystring parameter when I click on the link.
any help is appreciated