42

I have a menu which is a <ul>. Each menu item is a <li> and currently clickable. Based on some conditions, I want to disable (make it not clickable) a particular <li> element. How can I achieve this? I tried using the disabled attribute on the <li> and list-style:none as well. Neither worked. Any suggestions?

Tony L.
  • 17,638
  • 8
  • 69
  • 66
user811433
  • 3,999
  • 13
  • 53
  • 76
  • Share some code with us so we can help you better. – Devang Rathod Mar 26 '13 at 17:24