一些html頁面資料

來源:互聯網
上載者:User

標籤:style   io   os   ar   java   for   sp   資料   2014   

一下沒有什麼重要的,只是我平時積累的一些頁面,緊急時或許會有用,相信過一段時間去東宇(公司分公司)了,這些資料頁帶不走,還不如留在部落格裡,趁組長層級們開會去了,他們已經開了一個點啦!我的組長去東宇查看環境去了,哈哈,想想就很美好!

html選項按鈕取值:
html:<input type="radio" id="transition"name="pass" value="iscontinue" style="display: none;" class="radio5"/><span style="display: none;" id="sp" >繼續貸前審核</span>
  <input type="radio" id="transition_reject" name="pass" value="true" checked="checked" class="radio5"/><span id="sp">通過 </span>
  <input type="radio" id="transition_reject"name="pass" value="false" class="radio5"/><span id="sp" >不通過</span>
js取值:$("input[name=‘pass‘]").each(function() {
if ($(this).is(‘:checked‘)) {
if( $(this).val()!="true"){
alert();
}else{
alert();
}
}
});

 

mybatis:

sql語句迴圈遍曆:
<if test="idList !=null">
<foreach collection="idList" index="index" item="mcs_cre_credit_head_id" open="(" separator="," close=")">
#{mcs_cre_credit_head_id}
</foreach>
</if>

 

java後台擷取時間:格式如:2014-09-29 14:51:21.697
Timestamp sysTime = new Timestamp(System.currentTimeMillis());//擷取目前時間

 

js:分割資料:
str.replace(/\n/g, " ");//替換全部斷行符號或者換行/g是全域的意思

 

暫且寫到這裡吧,同事下樓出去吹吹風,我也出去一趟,換換心情,今天一個朋友離職了,心情賊啦賊啦不好!

 

一些html頁面資料

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.