[jQuery] Re: Ajax strip javascript?

2008-04-28 Thread Hamish Campbell
How are you viewing the generated source? Bare in mind that just because you can't see javascript in the browser source of a page doesn't mean javascript hasn't been executed. Likewise, you wouldn't see the html loaded from an ajax call in the browser source -- as it was injected after the page

[jQuery] Re: Ajax strip javascript?

2008-04-28 Thread hubbs
I am using Firefox and web developer toolkit, then viewing generated source. Hamish Campbell wrote: How are you viewing the generated source? Bare in mind that just because you can't see javascript in the browser source of a page doesn't mean javascript hasn't been executed. Likewise, you

[jQuery] Re: Ajax strip javascript?

2008-04-28 Thread Hamish Campbell
I've tried it myself - put an alert into the script and you should see something happen. jQuery executes script tags on load, but you won't see it in generated source regardless. On Apr 29, 10:33 am, hubbs [EMAIL PROTECTED] wrote: I am using Firefox and web developer toolkit, then viewing

[jQuery] Re: Ajax strip javascript?

2008-04-28 Thread hubbs
Did you use .load or .ajax? I used .load and it does not work... On Apr 28, 3:49 pm, Hamish Campbell [EMAIL PROTECTED] wrote: I've tried it myself - put an alert into the script and you should see something happen. jQuery executes script tags on load, but you won't see it in generated source

[jQuery] Re: Ajax strip javascript?

2008-04-28 Thread Hamish Campbell
.load Try this... set up one page called test.html that has in the body: div id='test'/div script language=javascript type=text/javascript $('#test').load('test.html'); /script Create a page called ajax.html in the same folder as the above page. It's only source should be: divTest

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Hey, thanks for the reply... I found a couple of other people out there that have had the same issue (maybe), but not many The IE page returns the following code when it attempts to retrieve the ajax content script id=__ie_init defer=true src=//:/script There are some hacks out there, but

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Fixed! I have implemented the outstanding fix for this problem: It was referenced in the uncompressed version of jquery's latest version The fix is located on this site: http://javascript.nwbox.com/IEContentLoaded/ If any other noobs, such as myself, ever have this problem and not sure how to

[jQuery] Re: AJAX and javascript?

2008-01-14 Thread Shawn
what are you returning from your called page? HTML? JSON? If JSON, there's a possibility your JSON is not quite right. I was running into issues where I would get a 200 (OK) status back from the call, but would still trigger the onError handler. It's subtle little things that did it for