I get an error saying the object doesn't support this property or method for the following code:
$('a').click(function() {
var theText = $(this).text().trim():
....
I saw posts on IE not trimming properly but in this case it does not even accept the method. What am I doing wrong?
TIA
John