SharkIng
V2EX  ›  问与答

PHP 中使用日历选择日期有什么好的做法?

  •  
  •   SharkIng · Mar 4, 2015 · 2744 views
    This topic created in 4267 days ago, the information mentioned may be changed or developed.
    http://www.html5tutorial.info/html5-date.php 看到这里的方法但是只支持Chrome,不支持Firefox和IE

    有没有什么能够支持几乎全部浏览器的办法?
    5 replies  •  2015-03-04 12:11:06 +08:00
    fising
    fising
    Mar 4, 2015
    1
    这个和PHP有啥关系
    jookr
    jookr
    Mar 4, 2015
    2
    my97date
    stiekel
    stiekel
    Mar 4, 2015❤️1
    3
    选择日期是浏览器端搞定的事情,与后端没有关系。
    有大量的jQuery插件可以做日期时间选择,比如
    http://jqueryui.com/datepicker/
    还有在datapicker基础上做进一步完善的插件。
    lyragosa
    lyragosa
    Mar 4, 2015
    4
    和php无关,这是js的事情
    ALeo
    ALeo
    Mar 4, 2015
    5
    @stiekel +1..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   682 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 21:21 · PVG 05:21 · LAX 13:21 · JFK 16:21
    ♥ Do have faith in what you're doing.