Hi Bas! Have you looked at the docs? http://docs.jquery.com/UI/Accordion#events
There is both a 'change' and a 'changestart' event you can use, and you can use the ui.newContent returned to check for your class name and do the replacement. Should be no problem with the example in the docs. Good luck! On Jan 11, 10:12 pm, Bas <basvdlustgr...@gmail.com> wrote: > Hi there, > > im looking for a way to change de page on a change of the accordeon. > > i need to search the newContent for a class named youtube and change > that content to the youtube embeded player. > > thank you very much
-- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.