victorjonsson / jQuery-Form-Validator

[DISCONTINUED] jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code.
973 stars 477 forks source link

How to escape double quote in js file (data-validation-regexp)? #747

Open Lukaum opened 4 years ago

Lukaum commented 4 years ago

I'm using an append() to add more inputs inside my form, but when i insert a double quote for a literally search (in my js file) on data-validation-regex, its warn an error on console saying its a invalid expresion.

How can i scape these double quotes?