Вопрос

I need to use the meta tag to go back to the previous page. I read somewhere firefox and IE stopped the use of javascript within meta tags for security purposes. What other alternatives can I use that only require client side scripting like javascript or using html.

This is my code:

<META HTTP-EQUIV="Refresh" CONTENT="5; URL=javascript:history.back();">

It works fine on Safari but not on Firefox and Internet Explorer

Это было полезно?

Решение

The simplest way to do this would be creating a div which includes your messages and you can hide it after a certain time other than that there are no solutions due to Firefox and IE security purposes

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top