I have
Expand|Select|Wrap|Line Numbers
- <div id='container'></div>
Expand|Select|Wrap|Line Numbers
- $('container').innerHTML=req.responseText;
What should have been displayed:
eg.
Expand|Select|Wrap|Line Numbers
- <div id='container'>
- <div id='header_1'>hello1</div>
- <div id='header_2'>hello2</div>
- <div id='header_3'>hello3</div>
- </div>
Expand|Select|Wrap|Line Numbers
- <div id='container'></div>
hello1,hello2,hello3) but my javascript breaks here, since it cannot find <div id='header_1'> ... and 2, and 3, and so forth..
Any idea how I could solve this problem?
Any help is appreciated! Thanks!