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

imranweb’s picture

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

-Imran

vyeluri’s picture

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.

christopher james francis rodgers’s picture

Note:

This is in a deprecated forum.

If you want a reply, please move this issue
to a different forum.

In your case, I recommend the forum
"Post installation".

https://drupal.org/forum/22

===

All Forums. https://drupal.org/forum

Pick a forum near the page top.

The 'Deprecated' forums are all
at that page's bottom.


All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *