iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
I have problem with WebMenu. I add item with tag "close". i want to write function that if the user click this buton i show confirm dialog and if true i close the application i other case i back without action. I have write function that works when i open the target location but i can't cancel click action. How can i this doing? Behind my function.
function MainMenu(Param2) { switch (Param2.Name) { case "start": window.location = "Default.aspx"; break;
case "close": if (confirm("Are you sure? ")) { window.close(); return true; } ; Param2.Pushed = false; break; } }
Thank you for help
regards Adam
I enclosed one simple sample of WebMenuBar. The “Close” menu is located as the sub menu of “File” menu. When user click the “Close” menu, confirm box pops up. The user will have to click either “OK” or “Cancel” to proceed. If the user clicks “OK”, the box returns true. If the user clicks “Cancel”, the box returns false. In my sample, an alert is used to show the result.
Please have my sample evaluated on your end and let us hear your feedback.
Hi Yudi
thanks's for help. that solved my problem
reagards
Adam
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname