Hi all,

Im trying to show a pop message or alert box on page load, for which Im using java script function. Soon I run my page it shows an error page not found.

function show_alert()
{
alert("test");
}

Version: 7
Drupal website.

Thanks

Comments

Check your path

Check your path settings.
Look at .htaccess file, if there is any settings which leads to this "page not found" error.

-Imran

could you elaborate it more.

could you elaborate it more. I wrote a javascript function in index.php file in my drupal folder. By doing this way it results to an error page.

venkatesh