I am using jquery ajax option data like this
$.ajax({
type: 'post',
url: '/shop_pos/index.php?route=module/cart/callback',
dataType: 'html',
data: $('#product :input').not(".card_checkboxes"),
but what i really need is two different options like this
data: $('#product :input').not(".card_checkboxes"), $("input[type=\'radio\']:checked"),
but not sure how to have two selectors like this…i know i can do this
$('#product :input, input[type=\'radio\']:checked')
but i need the not condition only on the $('#product :input') portion….any ideas
This is how I would do it: