javascript - Search and replace all elements -


I need a script to attach to the text or if all the texts are present then remove all matched elements Please give it. I tried this: what is wrong there? Thank you.

Try

  txt.replaceText (RegExp (elem, " G "), '');  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -