eso por que window.history no me arroja nada cuando abor una ventana con showmodaldialog
el codigo es este
Código PHP:
function previus(){
h = window.history
if ( h.length ) // if there is a history
h.back(); // equivalent to clicking back button
}
sera que se puede hacer algo para tomar el objeto history