-
-
Save emberian/1813914 to your computer and use it in GitHub Desktop.
TheAbacus - pastebin.com/qY1e6sjm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript Document | |
function Temp() { | |
var test = "testing"; | |
} | |
Temp.prototype.init = function() { | |
test = this.test; | |
$.ajax({ //IE errors here. | |
url: "xd_subnav.xml", | |
dataType: "xml", | |
success: function(xml) { | |
alert(test); | |
} | |
}); | |
} | |
a = new Temp(); | |
a.init(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment