Trying to find the value of the next input after an element
Trying to find the value of the next input after an element
How do I get the value of the next input after a b element containing 'Matching wallets'. I can't use the input's id as it depends on how many inputs there are
I've tried this but wallets is undefined
var wallets=$('a.cart-item-name:contains("Matching Wallet")').parent().parent().parent().parent().parent().parent().nextAll('td center input').val();