How do you replace div on span with jquery?



  • Good afternoon! Please indicate how jquery automatically replaces the line when the page is downloaded <div id='name'><span>♪ I'll explain. The jig automatically generates the entire content <div id='name'>♪ And I have a page consisting of several sections with my blocks. idwhich are in this common system <div id='name'>And as a consequence, much on the page doesn't work. Thank you for the clue!


    The following styles are assigned: position:static and display:inline



  • Whatever's started right after the crypt's download.

     (function(){
      $('div#name').replaceWith('<span></span>');
     })();
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2