close

範例請參考文章留言時的button


//找出所有<button class="btn" >btn</button>$.each($('button.btn'),function(){  $(this).removeClass('btn');  $(this).addClass('ui-state-default ui-corner-all');  $(this).hover(    function() { $(this).addClass('ui-state-hover'); },     function() { $(this).removeClass('ui-state-hover'); }  );});


arrow
arrow
    全站熱搜

    gan068 發表在 痞客邦 留言(0) 人氣()