Develop and Download Open Source Software

Browse Subversion Repository

Diff of /js/common.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by berupon, Mon Jan 18 04:50:55 2010 UTC revision 36 by berupon, Tue Jan 19 11:15:59 2010 UTC
# Line 634  function htmlspecialchars(str) { Line 634  function htmlspecialchars(str) {
634  // 要:戻り値のNodeを他のNodeに追加  // 要:戻り値のNodeを他のNodeに追加
635  function createNodeWithScript(html) {  function createNodeWithScript(html) {
636          var div = document.createElement("div");          var div = document.createElement("div");
637            
638            // http://msdn.microsoft.com/en-us/library/ms533897%28VS.85%29.aspx
639            // http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/33fd33f7-e857-4f6f-978e-fd486eba7174/
640            html = "<input type='hidden' />\n" + html;
641            
642          div.innerHTML = html;          div.innerHTML = html;
643          if (Prototype.Browser.IE || Prototype.Browser.WebKit || Prototype.Browser.Opera) {          if (Prototype.Browser.IE || Prototype.Browser.WebKit || Prototype.Browser.Opera) {
644                  var texts = new Array();                  var texts = new Array();

Legend:
Removed from v.34  
changed lines
  Added in v.36

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26