Hi All, I need a help. I have created a table by dynamic and i need to refer the table id in the DOM element. I have pasted the code below. Please help me. it works fine if I create the table in the html file.
table = ("<table><tr><td id=\"browserElementInHTMLCode\"></td></tr></ table>"); if (plugin()) { streamerCode = ("<OBJECT classid=\"clsid:E23FE9C6-778E-49D4- B537-38FCDE4887D8\" codebase=\"ftp://ftp.ntua.gr/pub/video/videolan/ vlc/0.9.2/win32/axvlc.cab\" width=\"320\" height=\"240\" id=\"vlc\" events=\"True\"> <param name=\"Src\" value=\"WINTERSUCKS.WMV\" /> <param name=\"ShowDisplay\" value=\"True\" /> <param name=\"AutoLoop\" value=\"True\" /> <param name=\"AutoPlay\" value=\"True\" /> <EMBED pluginspage=\"http://www.videolan.org\" type=\"application/x-vlc-plugin \" progid=\"VideoLAN.VLCPlugin.2\" width=\"320\" height=\"240\" autoplay=\"yes\" loop=\"no\" target=\"WINTERSUCKS.WMV\" name=\"vlc\"> </EMBED></OBJECT> "); com.google.gwt.user.client.Element newdiv = DOM .createElement("div"); DOM.setInnerHTML(newdiv, streamerCode); // DOM.appendChild(RootPanel.get("browserElementInHTMLCode") // .getElement(), newdiv); DOM.createElement(table); Thanks & Regards, Venkat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---