Skip to content
Permalink
Browse files
Added feature #1934 by allowing script.charset to be set through an o…
…ptional 'scriptCharset' ajax option.
  • Loading branch information
davids549 committed Dec 15, 2007
1 parent b264f78 commit 4e339ef5573dc6472c00c01a3de883346e6b03a3
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ajax.js
@@ -224,6 +224,8 @@ jQuery.extend({
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.src = s.url;
if (s.scriptCharset)
script.charset = s.scriptCharset;

// Handle Script loading
if ( !jsonp ) {

0 comments on commit 4e339ef

Please sign in to comment.