Sunday, 25 August 2013

selectnav list item with a span inside

selectnav list item with a span inside

I'm using selectnav
and it works great, but I have a menu with a description span inside the
list item. So my menu items look like this
<li><a href="somelink.html">Chapter Here <span>description
here</span></a></li>
selectnav returns the list item as Chapter Heredescriptionhere but I want
to remove that description span. How do I strip out that description span
so selectnav returns just Chapter Here .
Hope that makes sense.
Thank you. :)

No comments:

Post a Comment