A day of being a senior dog

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.