Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
javascript代码从html中分享到单独.js文件中出 现问题的解决
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chen Liqiang  
View profile   Translate to Translated (View Original)
 More options Oct 17 2007, 1:47 am
From: Chen Liqiang <chen...@gmail.com>
Date: Tue, 16 Oct 2007 22:47:31 -0700
Local: Wed, Oct 17 2007 1:47 am
Subject: javascript代码从html中分享到单独.js文件中出现问题的解决
通常为了使一段js代码能重用,会把它从html分享开,保存为单独的js文件,然后用<script sr='*.js'></script>这种方
式来包含,但是却报错,而且经常是提示未结束的字符串之类的,通常发生这种情况都是因为,保存的js文件编码与html文件编码不一致造成了,解决方法
很简单,保持一致的编码就好了

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google