简体   繁体   中英

Not linking the CSS file from the JSP in Cross Domain request in IE9

I have build GWTP web application and i am calling the JSP page on different domain (Cross domain) from my GWT client side in AJAX call.

Some times the CSS files are linking correctly and working fine, but few times in not linking.

The Issue will be browser or cross side implementation in my code ?

Any body can help this above issue.

Sounds like some time your async call takes too long and your css is injected after document ready - due to lack of information / code i'm not able to proof it, though.

Try to load css with a callback and parse the rest of your document once the css has been injected successfully.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM