0

Hi I have an html page with jQuery accordian menu, that shows, hides divs on click. What I can't seem to figure out is how to load a swf into a div that sits on the page. Please help!!

1 Answer 1

2
$("#divId").html(swfHtmlString);
Sign up to request clarification or add additional context in comments.

3 Comments

Wow, it's that simple? So, no embedding of swfobject or any of that ? What if I want a different swf to load into the same div on clicking of a different menu link? Is there also a simple way to do that? Thanks so much btw!
I meant to ask about the jQuery .load function as well, that's what I keep finding in the blogs.
Well you still have to embed everything like you normally would but the string would be loaded into the html like that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.