I really don't understand Javascr开发者_如何学Pythonipt.
In PHP, I can remove quotes like this:
$tags_array = preg_replace('/"/', '', $tags_array);
How do I write it in Javascript?
str = str.replace(/"/g, '');
You can do almost the same thing with javascript what you do with php, i mean many functions, here is the solution:
PHPJS
精彩评论