dynamic load javascript file.

$.ajax({
url : ("js/public/" + window.localStorage.getItem("lang") + ".js"),
async : false,
dataType : "script"
});

posted @ 2014-04-22 15:43  Alex Von Kwok  阅读(318)  评论(0编辑  收藏  举报