خرید بک لینک

Vote count: 0

I have the following code in my js file. The JQuery is working, the vanilla js is not, I'd love to know why! Thanks for any help!

$('.chartContainer').text('bar-1'); //works
document.querySelectorAll('.chartContainer').ierHTML = 'bar-2'; //doesn't work

output (from chrome inspector):

<div class="chartWrapper"><div class="chartContainer">bar-1</div></div>

I am using Jade as my template engine, here is the code I use:

.chartWrapper
      .chartContainer foo

asked 29 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 12 تير 1395 ساعت: 6:25

صفحه بندی