2
votes
3answers
436 views

Adding <select> with javascript to admin bar. Works in Chrome/Safari, not Firefox

I'm trying to add a new menu item to the WordPress admin bar. The sub menu item contains a select drop down to switch themes. In Firefox with href => false it generated <a href=""> and when I ...
3
votes
2answers
670 views

Admin Bar menu item that executes Javascript but does not reload the page?

I added a menu item to the Admin Bar that executes some Javascript to show debug information. The problem is that clicking this item also reloads the page. How can I prevent this? I was trying to ...