0

I have a div which has flash(Open flash chart) inside it . When I try to remove child divs with $("#mydiv").children().remove() it shows a javascript error in IE 8:

null is null or not an object javascript error

If the same div when there is no flash works fine without any issue .

Any suggestion on how to fix this ?

0

1 Answer 1

3

children is a function, you need to say

$("#mydiv").children().remove()
Sign up to request clarification or add additional context in comments.

1 Comment

Oops my bad actually in code its children() . I wrote it wrong here .

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.