Hang dad, actually did a day's work.
Last night to boil a little bit of the night is to hurry up the page, thinking about jumping what hurriedly fix, tomorrow morning to get up and pass value. Early in the morning to get up, is to catch the progress, originally thought only a little bit, engaged in a half-day only to find the entire page jump, originally intended to alert on the original page. No way, it seems that the value of Ajax needs to be passed.
Results Ajax after submitting data or jump to a new page, but the value has been in the background to get, I feel particularly strange, callback success method did not execute, the data seems to have passed, looked at a half-day only to find the address bar after a new page URL also updated, only to realize that the form has been submitted, The controller returns a string that corresponds to the content of the new page, and then quickly removes the action.
The little one DateTimePicker the hero Han/(ㄒoㄒ)/~~
Good afternoon to sleep ah ╮(╯▽╰)╭ but after the change to Ajax DateTimePicker time to pass as a parameter, quickly by their own stupid cry/(ㄒoㄒ)/~~ clearly data: "Starttime=" +$ (' #datetimepicker1 '). Val () + "&endtime=" +$ (' #endtimepicker2 '). Val (), that's it, and the results are written in data: "starttime=$ (' #datetimepicker1 '). Val () & endtime=$ (' #endtimepicker2 '). Val () ", ╮(╯▽╰)╭ The result also went astray, caught a $.datepicker.formatdate (' Yy/mm/dd ', $ (' #datetimepicker1 ') )
Expected to be able to spare time to engage in other, the result is seriously beyond the expected time, the task is finished after dinner.
A day of being a senior dog