Let\'s consider following html code:
Some text followed by a span element and another text followed by a bold
I have come up with a following solution:
var c = $("span").context.previousSibling; alert(c.data);
But I am not sure how safe it is when using different browsers?