S
S
sitev_ru2015-07-24 12:01:51
JavaScript
sitev_ru, 2015-07-24 12:01:51

Why doesn't update diva work in firefox?

I don't use jQuery, I write the following code in plain Javascript:

document.getElementById('employeeList').innerHTML = data;

employeeList is a div.
If I specify plain text in data, it works, but if I use HTML tags, it doesn't work in Firefox (everything is fine in chrome).
What could be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-07-24
@IonDen

And everything works fine for me in FF: jsfiddle.net/IonDen/fcb9d5bv

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question