2013-08-02 29 views

回答

2

Try:

jQuery(document).ready(function($){ 
    $('#publish').click(function(event){ 
     event.preventDefault(); 
     var title = $('#title').val(); 
     /** do whatever with the title here */ 
     }); 
}); 
相关问题