I have need for a button on my site which can send information to the create action of a controller (\"pagetimes\"). It seems to be working, although it is not sending all t
function submitForm() { alert("checked the button - worked"); $.ajax({ type:'POST', url: '/pagetimes/create', data: $.param({ pagetime: {pagename: "whatever", start: 7, end: 21 }}) }); }