Skip to navigation

Question:
How to call a ajax rails function from a javascript function?

Worse is better.