23
rated 0 times
[
29]
[
6]
/ answers: 1 / hits: 104748
/ 14 Years ago, wed, february 9, 2011, 12:00:00
I am getting this error :
SyntaxError: missing ; before statement
Why would I get that from this code? How can I get around this ?
var $this = $(input);
foob_name = $this.attr('name').replace(/[(d+)]/, function($0, $1) {
return '[' + (+$1 + 1) + ']';
}));
More From » jquery