jquery

$('a#submitarray').click(function(){ 
 
   
var datearray = new Array(); 
 
    $
('.selected').each(function(){ 
        datearray
.push($(this).attr('id')); 
   
}); 
 
   
// AJAX code to send datearray to process.php file 
 
}); 
posted @ 2012-03-13 13:24  十二十二  阅读(130)  评论(0编辑  收藏  举报