Topic: Pass JS return value to partial?
Within my view I would like to call a JS function which returns a value that I can then pass to a partial. Can't figure out how to do this or even if you can. Any suggestions? Thanks in advance.
Example ( assume ../views/foo/show.html.erb):