1jQuery('form.plugin_move_form').each(function(){ 2 var $form = jQuery(this); 3 4 $form.find('.click-page').click(function() { 5 $form.find('input[name=dst]').val($form.find('.click-page code').text()); 6 $form.find('.select').hide(); 7 }).click(); 8 9 $form.find('.click-ns').click(function() { 10 $form.find('input[name=dst]').val($form.find('.click-ns code').text()); 11 $form.find('.select').show(); 12 }); 13 14});