How to link the parent of a Nice Menu to nowhere? In order to make a Nice Menu, I created a menu like this:

My Menu
   - First link
   - Second link
   - Third link


The menu works perfectly fine, but I also had to fill in a link for the 'My Menu' (I've set it to the frontpage). However, I'd like the parent link to be linked to nowhere. How can I do that?

This is the relevant code for the menu's parent:

&lt;div id="block-nice-menus-2"&gt;
 &lt;ul id="nice-menu-2"&gt;
  &lt;li class="menu__item"&gt;
   &lt;a class="menu__link menu__link" href="/mysite/"&gt;
    My Menu
   &lt;/a&gt;
  &lt;/li&gt;
 &lt;/ul&gt;
&lt;/div&gt;




Note: At first, I couldn't get the code from the accepted answer working, because I forgot to load my theme's MYTHEME.js file. After reading this, I learned that one can do that by adding scripts[] = MYTHEME.js to the MYTHEME.info file.
Yes you can do that using the Special menu items module:

Special menu items is a Drupal module that provides placeholder and separator menu items.
A placeholder is a menu item which is not a link. It is useful with dynamic drop down menus where we want to have a parent menu item which is not linking to a page but just acting as a parent grouping some menu items below it