SHARE
TWEET

Untitled

a guest Oct 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     function deleteItem()
  2.     {
  3.         $(document).ready(function() {
  4.  
  5.             $("button").click(function(){
  6.  
  7.                 var item_selected = [];
  8.  
  9.                 $.each($("input[name='sell']:checked"), function(){
  10.  
  11.  
  12.                     item_selected.push($(this).val());
  13.  
  14.  
  15.                 });
  16.  
  17.                 console.log("test : " + item_selected.join(", "));
  18.             });
  19.  
  20.         });
  21.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top