JQ字符串截取

从0开始第4个2014-12-31

$("#dtp_input2").val().substring(0,4)//2014

posted @ 2017-05-05 09:47  914556495  阅读(1081)  评论(0)    收藏  举报