logo
Search
showing results for - "jquery replace h1 with h2"
Martina
04 Jul 2018
1$(selector).load(url, function(){ // your existing load function
2      $(selector).find('h1').replaceWith(function() {
3                return '<h2>' + $(this).text() + '</h2>';
4      });
5});
source
similar questions
jquery set text of h1get h1 text javascripton success replace class div ajaxhow to add text to h2 with jqueryjquery change font size
queries leading to this page
set h2 jqueryhow to replace h1 tag with h2 using jqueryreplace h2 jqueryjquery replace h2 with classjquery change h3 tag with h4 tagjquery replace h1 with h2jquery change h2 to h1jquery change h2 textchange h2 value jquerychange h1 value jqueryreplace h1 tag to h2 by jqueryreplace h1 on one single web page using jquerychange h1 to h2 jqueryjquery change h2 contentjquery change h1how to replace h1 to h2 tag in jqueryhow to add an h2 in jqueryreplace h2 with h1 jqueryjquery change h1 to h2replace h2 with h3 jqueryjquery how to change data on a h1 on codejquery add h2change h3 to h4 in script jqueryreplace h1 element jqueryjquery change h3 to h2jquery replace h2 with pjquery replace h1change h2 jqueryjquery replace h1 with h2
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue