Search found 1 match
- Aug 25 2010, 20:25
- Forum: 一般应用交流
- Topic: 请问如何在页面载入完成后执行js?
- Replies: 3
- Views: 8701
请问如何在页面载入完成后执行js?
<script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'auto', includedLanguages: 'en' }); } </script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> 我想在页面载入后执行上面的js,但怎么也无法成功,请教该怎么解决?