Hi,
Thank you for your message.
Scripts surely work inside transformation. I can see that you are using jQuery selectors. Can you please verify which jQuery are you using? Also if you are using our jQuery you need to use "$j" instead of "$". So it can be like:
alert($j(".TextAreaField").attr("id"));
Let me know how it works.
Kind regards,
Richard Sustek