This was my first time using YUI Rich Text Editor in one of my projects. RTE is very flexible and highly customizable component of YUI Library. As a test I was trying to get simple form submit to work with RTE. There was only one textarea and one submit button in the form and on click on submit I was trying to print HTML content entered in textarea using print_r. This was giving me an error saying “J.form.submit is not a function”. After spending lot of time figuring out the problem, I wrote my question to our internal frontend developers list. One of the developers here at Y! pointed out that my form submit button name and id attribute was set to ’submit’ and that was conflicting with form.submit. I changed the submit button name and it started working fine. I wanted to post this in my blog just in case if somebody is facing the same problem will find it useful.