I have a menu item type=form that opens with popup() function and has a keepalive property set to true. In the menu I have a button "close" that on click supposed to hide the menu.
This is a snippet:
Code: Select all
with(milonic=new menuname("Milonic")){
style=menuStyle;
keepalive=true;
position="absolute";
margin=1;
aI('text=<form><select><option>All Prices</option><option>under $10</option><option>$10-$25</option></select<a>close</a><input></form>;type=form;');
}
drawMenus();
name= getMenuByName("Milonic");
menuObject=gmobj( "menu"+name);
</script>
Can somebody please help. Thank you.