html - JavaScript innerHTML Quirk - Disappearing Elements.. -


i have ui bug thingy cannot solve life of me..

i have bunch of <div>'s id's part of index page. have list of links pass json through onclick function, replaces these elements text..

i have tried use innerhtml , textcontent - both work great, expect when 1 of functions needs pull additional information database...when happens it making other elements disappear. html still there , inner content, not displaying values - other borders , text disappearing too...they reappear when resize window , seem pop up..

i should point out happening in chrome , safari - firefox , ie works fine..

i stumped on one, killer!!

code..

<p class="restaurant-name" id="restaurant-name"></p>  var emptyname = document.getelementbyid('restaurant-name'); emptyname.textcontent = restinfo.name; 

restinfo name of json


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -