I'm workin on my website with AJAX and I want to create the menu on the server side, and just chunk that code into the navBar.innerHTML variable with javascript. Thing is, after I do that I want to alter properties of the menu objects. So I guess my question is are elements added to a page through innerHTML added to the DOM as well?
if not, I can always just send back raw data and construct the elements client side, it's just more annoying that way.
if not, I can always just send back raw data and construct the elements client side, it's just more annoying that way.