[jQuery] Re: Executing javascript that comes inside an AJAX response

2009-03-14 Thread NightWatchman
To execute javascript code returned by the server you need to use the javascript eval function on the string of script returned from the server. As far as I know changing the content of a div to a javascript block won't cause that javascript code to execute. I think you need to change: contentDi

[jQuery] Re: $.get xml document with xhtml fragments in IE

2009-03-06 Thread NightWatchman
I heard something about a listen plugin for jQuery that might help. Somebody said that sometimes after you update the DOM it needs to be refreshed and listen does that. Also I had problems importing stuff myself but I tracked it down to me injecting XML into an HTML document and trying to read it

[jQuery] Re: jHistory help

2009-03-06 Thread NightWatchman
dContent": oldContent}); $.get('index.php?action=view_user', {user: user}, function(new_html) { $('.content').html($('.content', new_html).html()); }); } On Mar 4, 2:05 pm, NightWatchman wrote: > I'm making a website that has a drill-down form in it w

[jQuery] Re: jHistory help

2009-03-05 Thread NightWatchman
some of the time, I get the alerts from it but my AgentBrowser data is never there. Please help! I don't have a cent to my name unless I can get this project finished, and this is the last thing I need to do, keep it from breaking when the user hits the back button on the browser. ~Eric O

[jQuery] jHistory help

2009-03-04 Thread NightWatchman
I'm making a website that has a drill-down form in it where you can select an office from a dropdown and then an agent from that particular office. My problem is once the user views an agent and clicks the back button on the browser my page breaks. I need to retain some page states in the form of