Howdy, how can I make this code snippet to return `I no longer NaN` when I send the information to send` NaN text`. How can I make you return -1 as valuation? Of the existing? Example (3 warns), if I give unwarn to warn -1 returnze!
sorry my bad english.
sorry my bad english.
- Code:
var n2 = jQuery('#warns').text().match(/\d+/gi);
var x = parseInt(n2)-1;