PHP Classes

options example help

Recommend this page to a friend!

      phpMyMenu  >  All threads  >  options example help  >  (Un) Subscribe thread alerts  
Subject:options example help
Summary:options example help
Messages:3
Author:brian kramer
Date:2007-08-21 16:03:52
Update:2007-08-21 17:09:21
 

  1. options example help   Reply   Report abuse  
Picture of brian kramer brian kramer - 2007-08-21 16:03:52
in the options example is it possible to call a javascript function and have the row ID passed thru?

  2. Re: options example help   Reply   Report abuse  
Picture of Gustavo Arcila Gustavo Arcila - 2007-08-21 16:47:33 - In reply to message 1 from brian kramer
Hi


You can pass the id to a js function

$menu->additem("principal", "Javascript Option",'javascript:myFunction(parameters)');

Please check the sample to know how to assign the id to parameters var,

  3. Re: options example help   Reply   Report abuse  
Picture of brian kramer brian kramer - 2007-08-21 17:09:21 - In reply to message 2 from Gustavo Arcila
thanks for the quick reply.I missed that option in the example. Thank You