Is for html only, no javascript is run. 2009/2/17 [email protected] <[email protected]>
> > It is showing correct html, exactly which I'm expecting, but it seems > it's not executed. I was also trying to specify type of transmission > for html, but it's not working. > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > > <script src="js/jquery-1.3.1.js" type="text/javascript"></script> > > <script src="js/jquery-ui-personalized-1.6rc6.min.js" type="text/ > javascript"></script> > > <script type="text/javascript" src="js/jquery.ingrid-0.9.2.js"></ > script> > > <link type="text/css" href="theme/ui.all.css" rel="Stylesheet" / > ><title> > > </title> > > <script type="text/javascript"> > $(function() { > > // Tabs > $('#tabs').tabs(); > > }); > </script> > > </head> > <body> > <form name="form1" method="post" action="hotline.aspx" id="form1"> > <div> > <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/ > wEPDwUJNTU3MjY3MDI3ZGTD/pvm82XjARRxOJ7P6hsjsegkhw==" /> > </div> > > <div> > <div id="tabs"> > <ul> > <li><a href="WebForm1.aspx">Neue Vorgänge</a></li> > <li><a href="Hotline/aktive.aspx">Aktive Vorgänge</a></ > li> > <li><a href="Hotline/closed.aspx">Abgeschlossene > Vorgänge</a></li> > </ul> > </div> > </div> > </form> > </body> > </html> > > > On Feb 17, 4:29 pm, Beres Botond <[email protected]> wrote: > > If you put alert(data) in the function, what exactly does it show? > > > > Also you could try specifying the data type like: > > > > $.post("hotline.aspx", function(data) { $("#load").html(data); }, > > "html"); > > > > On Feb 17, 3:32 pm, "[email protected]" <[email protected]> wrote: > > > > > Hi, > > > > > I've got problem with loading new page through ajax like that: > > > $.post("hotline.aspx", function(data) { $("#load").html(data); }); > > > I was also trying with functions get, $.ajax, load, unfortunately it's > > > not working. It's loading html correctly, but it seems like it's not > > > executed or interpreted. > > > I'm loading through that page with jquery code (tabs) and it's totally > > > not working. > > > > > Should I fire some additional event after load, that this code will be > > > interpreted correctly? I would like to achieve similar loading like > > > it's made in tabs ajax loading (http://jqueryui.com/demos/tabs/). > > > > > Anyone knows solution for that? > > > > > Cheers > > > > > Radek >

