asked on
ASKER
function OpenPopup(url,id, name, attrib)
{
var attArr = new Array()
attArr = new Array("fileURL", url);
attArr = new Array("fileID", id);
var td = new Date();
var rnd = new String(Math.round(td*1.0));
eval("wnd_" + rnd + "=" + "window.open('','','" + attrib + "')");
wndvar = eval("wnd_" + rn);
with(wndvar.document)
{
clear();
writeln("<HTML>");
writeln("<Head>");
writeln("<meta http-equiv='content-type' content='text/html;charset=iso-8859-1'>");
writeln("<meta http-equiv='pragma' content='no-cache'>");
writeln("<meta http-equiv='cache-control' content='no-cache, no-store, must-revalidate, max-age=0'>");
writeln("<meta http-equiv='expires' content='0'>");
writeln("<title>" + name + "</title>");
writeln("</Head>");
writeln("<body>");
writeln("<form name='openFile' method='post' action='" + url + "'>");
for(i=0; i<attArr.length; i++)
{
var arr = attArr[i];
writeln("<input name='" + arr[0] + "' type='hidden' value='" + arr[1] + "'>");
}
writeln("</form>");
writeln("</body>");
writeln("</HTML>");
}
}
ASKER
ASKER
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
TRUSTED BY