首页javascriptreplacealljQuery Method - 如何使用removeClass(\'className\')...

jQuery Method - 如何使用removeClass(\'className\')...

我们想知道如何使用removeClass(\'className\')。...


<html>
  <head>
    <script type="text/javascript" src='http://code.jquery.com/jquery-1.5.2.js'></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("<b>Paragraph. </b>").replaceAll("span");
        });
    </script>
  </head>
  <body>
        <span>Span Text</span>
  </body>
</html>