Click here to Skip to main content
15,921,793 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear sir,


HTML
Div <div id="div1" > </div>
displaying much more content in web.

But Safari Browser Through error raising.
What is reason.... Reply me with solution.

Note:
HTML
var ExampleContainer= document.getElementById("Div1");
 ExampleContainer.InnerHTML="Here More than 10000 Line HTML Code display in page";



(near InnerHTML keyword error raised) -> (Other browser work/ display well

By mohan
Posted
Updated 19-Jun-12 2:35am
v3
Comments
Tim Corey 19-Jun-12 8:40am    
You say that an error was raised, but you don't tell us which error. Can you please let us know what the error is? Right now we don't have much to go on.
Mohankumar.Engain 20-Jun-12 10:45am    
Maximum call stack size exceeded.. This Error Occurred in Safari browser

1 solution

This[^] post discusses the problems with innerHTML and Safari. It has provided a solution too which you may like to play around with.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900