So I've looked online in this issue, but can't seem to find the answer. Let me explain my problem fully. I'm trying to dynamically add content to an <ul> and have it all formatted correctly. What I'm inserting to is this:
And when the user clicks this back button and then clicks on the previous <li> again (which should populate the <ul>) the content is loaded dynamically, but not formatted at all. I have no idea why this is happening. Does this problem make sense, and does anybody have any tips for how to fix it?
Well, I feel like an idiot. :P I thought for sure I tried that. But I think I tried doing the refresh on the individual <li> elements, not the <ul> (which makes more sense, refreshing the <ul>). So after appending everything to the <ul>, I call the refresh on that element, and it seems to work fine.
I don't know why it works the first time though.
Thanks for the help!
Leave a comment on theandybob's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic