Display category list without link wordpress
<p>I was trying to list category names. <code>wp_list_categories()</code> returns a list of the categories but the problem is that it automatically wraps the names with links. I do not need the links. </p>

<p>It is possible to disable the links by JavaScript? But then I would have to fire some JS event. </p>

<p>I need to retrieve the category list without the automatic anchor tags, any idea?</p>