i am using this j query code
var = "here is path of file"
$(document).ready(function () {
$("#readFile").click(function () {
$.get(var, function (data) {
window.open($("#container").html(data);)
}, 'text');
});
});
how to open a file that is located in different directory and i want to display the contents in new window with HTML enable tags all things should be written in j query?