Why do you try to get http://www.rubyonrails.org using an Ajax request?
On Nov 29, 2006, at 6:04 PM, Marius Toma wrote: > As I said I have a window with no content if I'm using the > addForm.show(); > > All the CSS+JS are there > > Marius > > Felix Shnir wrote: >> Did you include all of the css files? >> >> Felix. >> >> >> On 11/27/06, *Marius Toma* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> I have this code: >> <script language="javascript"> >> <!-- >> var addForm; >> >> function test () { >> addForm = new Window('addFormWin', {className: >> "alphacube", width:300, height:200, zIndex: 110, resizable: true, >> title: "Add Link", showEffect: Element.show, hideEffect: >> Effect.SwitchOff, draggable:true}) >> addForm.setAjaxContent('http:// >> www.rubyonrails.org/', >> {method: 'get'}, true, true); >> // addForm.show(); >> } >> // --> >> </script> >> <a href='javascript:;' onclick="test();">add win</a> >> >> At the first click nothing happened, when I click again: "window >> addFormWin is already register is the DOM!!, be sure to use >> setDistroyOnClose()" >> addForm.show() displays an empty window! >> >> Is there somewhere an example on how to use setAjaxContent() the >> proper way? >> >> Marius >> >> >> >> _______________________________________________ >> Javawin mailing list >> [email protected] <mailto:[email protected]> >> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com >> >> >> --------------------------------------------------------------------- >> --- >> >> _______________________________________________ >> Javawin mailing list >> [email protected] >> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com >> > > _______________________________________________ > Javawin mailing list > [email protected] > http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com _______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
