Ajax after writing the contents of css, javascript not loading problem [original]
Today the site there is a new problem
in Apple's Safari browser inside, ajax brush out of the pages actually css ineffective.
Google found a handful of reasons, that is the kernel Safari is one such.
The solution is:
<div ID = "INSERT">
<Link the rel = "this stylesheet" type = "text / CSS" the href = "css_url" />
<style> own code </ style>
</ div>
<Script type = "text / JavaScript" Language = "JavaScript">
document.getElementById ( "INSERT") the innerHTML = document.getElementById ( "INSERT") the innerHTML + '';..
</ Script>
way to write down the ajax js disobedience the problem has been solved now.
The solution is:
here in order to save with the jQuery (the principle is generated script tag in head tag inside, then take over the contents of the written script tag)
<script of the type = "text / JavaScript" Language = "JavaScript">
</script>
in Apple's Safari browser inside, ajax brush out of the pages actually css ineffective.
Google found a handful of reasons, that is the kernel Safari is one such.
The solution is:
<div ID = "INSERT">
<Link the rel = "this stylesheet" type = "text / CSS" the href = "css_url" />
<style> own code </ style>
</ div>
<Script type = "text / JavaScript" Language = "JavaScript">
document.getElementById ( "INSERT") the innerHTML = document.getElementById ( "INSERT") the innerHTML + '';..
</ Script>
way to write down the ajax js disobedience the problem has been solved now.
The solution is:
here in order to save with the jQuery (the principle is generated script tag in head tag inside, then take over the contents of the written script tag)
<script of the type = "text / JavaScript" Language = "JavaScript">
</script>