Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change html div jquery

// html
 <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 total-price bold red"> 0  </div>

// jquery
var price = 1000;
$('.total-price').html(price);
$('.total-price').text(price);

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #html #div #jquery
ADD COMMENT
Topic
Name
2+1 =