Innerwrap tags : wrapInner « jQuery « JavaScript DHTML






Innerwrap tags

   
<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
             $("p").wrapInner("<b></b>");




        });
    </script>

    
  </head>
  <body>
    <body>
       <p>Hello</p>

    </body>
</html>

   
    
    
  








Related examples in the same category

1.Add border with wrapInner
2.Wrap tag to add border
3.Innerwrap created element