当用户单击标签时,我使用js来显示/隐藏div。但问题是我想在多个a标签中使用这个函数,在javascript中是不可能的,而且我不会使用jquery。javascript: var f = document.getElementById('sss_div'); f.style.display = 'b
在Javascript或ruby中,我需要使用regex找到一个子字符串,并将其从可能包含多个子字符串的主字符串中删除。我的主串是
My <style type="">first</style> name <style>is</style> xyz <style>abc</style>.我需要删除style标签中