Hi, I am pretty new to lift and am working with Dan getting some things done. The system is currently setup to insert the lift comet javascript (which is in jQuery) inside the layout file. I needed to use the prototype library along with this and so added the 'jQuery.noConflict()' code call so that the conflict is resolved. I am also using the Yahoo library to display a tree. The Doctype was Xhtml Strict as set by scala. It immediately gave me errors like 'uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" '. It was not allowing the script to execute statements like 'element.innerHTML ="dasd"'.
This I read is an issue with the content-type of the rendered page which is 'application/xhtml+xml'.(references - http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_in_xh.html, http://www.456bereastreet.com/archive/200501/the_perils_of_using_xhtml_properly/). I also saw some work arounds (https://developer.mozilla.org/En/ Writing_JavaScript_for_XHTML) but they do not work as the changes would affect the library rendering. How could I solve this problem? 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 -~----------~----~----~----~------~----~------~--~---
