Hi all, I´ve now localized the problem. These lines make the problem visible to you. Please call these lines from IE and after that from the Firefox/Mozilla.
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:s="http://myfaces.apache.org/sandbox"> <body> <ui:composition template="res/layout.xhtml"> <ui:define name="content"> <script> var callMe = function() { var node = document.getElementById("cancel_id"); alert(node); dojoDialog.show(); } </script> <div id="content"> <s:modalDialog dialogId="dialogId" dialogVar="dojoDialog" dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade' toggleDuration='20'" hiderIds="cancel_id" styleClass="dojoDialog"> <h:panelGrid column="2"> <h:outputText value="huhu"/> <h:inputText id="inA" value="eingabe"/> <h:outputLink id="cancel_id" value="#" >CloseDialog</h:outputLink> </h:panelGrid> </s:modalDialog> <h:outputLink onclick="javascript:callMe();" value="#"> hello </h:outputLink> </div> </ui:define> </ui:composition> </body> </html> In IE the dom object can locate the id="cancel_id" and firefox doesn´t. But only in the xhtml mode. When I rename the test.xhtml file to test.html So the browser compile the site in quirks mode. This works fine, but the XHTML parser(mozilla) have some trouble with DOM/JavaScript. Does anyone have a workaround for XHTML - Strict or some hints to solve this? Kind regards DaWorm

