khawar
08-26-2009, 09:47 AM
Hi,
I am trying to covert a JQuery script to prototype. Here is the line I am having difficulty with:
$('body').removeAttr('class').addClass($(this).text());
I am unable to find equivalent to $(this).text().
I am trying to covert a JQuery script to prototype. Here is the line I am having difficulty with:
$('body').removeAttr('class').addClass($(this).text());
I am unable to find equivalent to $(this).text().