showmodaldialog function in ie8
- by naweli
i have written a showmodaldialog() fuction in a jsp file and its working well in firefox but in ie8 its now working,my code is here :
<-----a.jsp------
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%
Step Editor
function test() {
var retvalue;
retvalue = window.showModalDialog("index.jsp");
}
<---------
in the above code a.jsp is parent window which is calling index.jsp as child window.
<----index.jsp-----