0
need to remove from a string a parenthesis with what is inside, example of which I am trying to extract this parenthesis:
"director position (a)".
reason: I have an old project that has an ajax function that loads a button, that has a js function inside called "define()", and inside the function there are some parameters, which are name, position and etc... just when you load the post with some "(a)" the function stops informing:
Uncaught SyntaxError: missing ) after argument list
so I want to use the replace function of javascript to remove this
Careful Daniel, it’s supposed to be with javascript. Attention to question tags
– Miguel