Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-09-06 19:10:05

bumblebee
New member
Registered: 2007-09-06
Posts: 1

Jquery and Xinha problems

Hi!

Has anyone been able to get Xinha to work with Jquery? As soon as I use any Jquery plugins on the same page, Xinha does not work, it just displays an empty textarea.


Thanks

Offline

#2 2007-09-10 10:24:13

Practicality
Xinha Community Member
Registered: 2007-02-15
Posts: 24

Re: Jquery and Xinha problems

Oops, I didn't notice your post. I will just repeat it here, in case you don't notice mine smile

To do this, remove the line from your config file that calls the initialization function. It should look like this:

window.onload = xinha_init;

Then place within your jQuery initialization function, the code to start the editor. Like this:

$(document).ready(function() {
    xinha_init();
});

Offline

Board footer

Powered by FluxBB