Backslash in the end of value is throwing jquery error
TheSerVir opened this issue · 0 comments
TheSerVir commented
When we got backslash in the end of tag value, jquery is throwing error:
Uncaught Error: Syntax error, unrecognized expression: option[value="somestring"]
That backslash shields closing quote and cause this problem. I think the simplest way to fix this bug it's do on line 151 of bootstrap-tabsinput.js like here:
$('option[value="' + htmlEncode(itemValue).replace(/\\/g,"\\\\") + '"]', self.$element).length