Hi, Please see http://liftweb.net/index.php/HowTo_use_Lift_with_YUI for using Lift with YUI. Mixing YUI and JQuery is not something I would recommend but if you know what you're doing go ahead.
Do you have a concrete example of your code? P.S. - The default DOC type in lift is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> - I find it weird that content type with you innerHTML not working. I'm using it for a while and have no problems. I bet many other people do. - You can change the content type to whatever you want but your templates on server side still must be XML well formed. In Boot call LiftRules.useXhtmlMimeType = false; .. hence Lift will use text/html. Br's, Marius On Dec 24, 10:17 am, dineshvasudevan <[email protected]> wrote: > Hi All, > > I was starting out with lift and am working with Dan on a project. The > application I am working on has a prototype/Yahoo javascript > requirement. Now Lift as I understand gives a content type of > application/xhtml+xml. I am having problems with executing javascript > (statements like element.innerHTML = 'dasdasdasd'). This is inside the > prototype and Yahoo libraries and therefore cant be changed by me. > > The issues have been refernced here as > well.http://www.webdeveloper.com/forum/showthread.php?t=178347http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_in_xh...http://www.schillmania.com/content/entries/2004/10/24/application-xht...https://developer.mozilla.org/En/Writing_JavaScript_for_XHTML > > The creating a text node and inserting wont work for me as the content > inside (as inserted into the innerHTML) needs to be displayed as html > and not only as text. > > Thanks and Regards. > Dinesh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
