Displaying 1 result from an estimated 1 matches for "jsevent".
Did you mean:
fsevent
2012 Oct 30
1
pass javascript date variable to rails controller as params
...tting the date in
the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I
pass as params in jquery ajax to rails controller, it is passing blank.
How do I get it in rails controller successfully. Please find my code
for dayclick below.
dayClick: function(date, allDay, jsEvent, view) {
var date = $(''#calendar'').fullCalendar(''getDate'');
alert(date);
$.get("<%=update_projects_admins_users_path%>",
{
id:''<%=params[:user]%>...