I am wanting to take the text value of a p tag when I press enter
$.keynav.enterDown = function () {
var accom = $('#suggestions p.keynavon').html();
alert(accom);
}
This is working great but the results contain <span>
and </span>
tags, is there anyway I can strip those tags from the string?