My client wanted me to convert them to hyperlinks dynamically since it was not possible to go ahead and make changes in the Bulleted List mark up. Here's how to convert an unordered list <ul> to hyperlinks using jQuery
As you can observe, we are adding some css attributes to the <li> to make it look like a link - css has been applied to underline it, add a pointer on mouseover and change its color to blue.
We then add a click function which sets the url, to the text of the list items of the Bulleted List. That's it.
Oh..I love jQuery!
Will you give this article a +1 ? Thanks in advance