Try html() rather than text():

   $('div#content').children('script').html();

Karl Rudd

On 5/2/07, Dave <[EMAIL PROTECTED]> wrote:

So I haven't really made any progress, but my javascript works great
in FF.  Some debugging alerts are telling me that the script is loaded
under FF but not in IE 6.

$('div#content').children('script').text() returns the script code in
the <script> tags in the BODY of the ajax loaded html

$('div#content').children('script').text() is BLANK using the exact
same script in IE 6!?

I thought I could do a window.execScript on the text, but I can't even
get at the text!  Any clue?


Reply via email to