Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
kient
Beginner
Posts: 1 Joined: Tue Jul 02, 2002 8:29 am
Post
by kient » Wed Jul 03, 2002 6:36 am
I want to call javascript function from the menu.
Usually a used :
Code: Select all
<a href="javascript:downloaddata('main.php');">
the problem are in the single quotes, the function must use single quotes.
I already try with :
Code: Select all
javascript:downloaddata(\'main.php\');
--> error
Code: Select all
javascript:downloaddata(\\'main.php\\');
--> error too.
Any one can help me?
Thanks in advance
-=Kient=-
Andy
Milonic
Posts: 3308 Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:
Post
by Andy » Wed Jul 03, 2002 9:25 am
Try escaped double quotes.
Code: Select all
<a href="javascript:downloaddata(\"main.php\");">
Cheers
Andy