Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-07 Thread Ronald Haring - Tripolis
Thx for your answers, but unfortunately any dynamic script will not be run by 
ie6. I think this is just an ie6 bug that I will have to live with.

Gr
Ronald 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer
Sent: dinsdag 5 december 2006 22:42
To: jQuery Discussion.
Subject: Re: [jQuery] ajax question with javascript on called page in ie6

Ronald Haring - Tripolis schrieb:
 Hi all,
  
 I've been trying hard to get the following scenario to work. On page 1 
 there is a link, when clicked an ajax page will be loaded and shown in 
 a div. However this ajax page contains some javascripts and this is 
 not executed in ie6. I think the problem is with ie6 but if anyone 
 knows of a workaround I will be gratefull. For now I will put all the 
 javascript that I will ever receive from these ajax pages in the 
 calling page but this poses a lot of problems. (since these ajax pages 
 are part of a wizard, the next button should be enabled and disabled 
 based on certain conditions which are different on each page of course).
Could you please update to the latest revision of jQuery and test it?

If you don't have SVN access, check these:
http://joern.jquery.com/dist/jquery.js
http://joern.jquery.com/dist/jquery.pack.js

The issue you are describing should be fixed in this revision.

--
Jörn Zaefferer

http://bassistance.de


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-07 Thread Karl Swedberg

Hi Ronald,

My memory is a little foggy on this one, but I seem to recall someone  
posting earlier about having to put the javascript in the body of the  
ajaxed page instead of the head for IE to recognize it. Anyway, maybe  
worth a try?


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Dec 7, 2006, at 8:25 AM, Ronald Haring - Tripolis wrote:

Thx for your answers, but unfortunately any dynamic script will not  
be run by ie6. I think this is just an ie6 bug that I will have to  
live with.


Gr
Ronald

-Original Message-
From: [EMAIL PROTECTED] [mailto:discuss- 
[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer

Sent: dinsdag 5 december 2006 22:42
To: jQuery Discussion.
Subject: Re: [jQuery] ajax question with javascript on called page  
in ie6


Ronald Haring - Tripolis schrieb:

Hi all,

I've been trying hard to get the following scenario to work. On  
page 1
there is a link, when clicked an ajax page will be loaded and  
shown in

a div. However this ajax page contains some javascripts and this is
not executed in ie6. I think the problem is with ie6 but if anyone
knows of a workaround I will be gratefull. For now I will put all the
javascript that I will ever receive from these ajax pages in the
calling page but this poses a lot of problems. (since these ajax  
pages

are part of a wizard, the next button should be enabled and disabled
based on certain conditions which are different on each page of  
course).

Could you please update to the latest revision of jQuery and test it?

If you don't have SVN access, check these:
http://joern.jquery.com/dist/jquery.js
http://joern.jquery.com/dist/jquery.pack.js

The issue you are describing should be fixed in this revision.

--
Jörn Zaefferer

http://bassistance.de


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-06 Thread Brandon Aaron
On 12/5/06, Blair McKenzie [EMAIL PROTECTED] wrote:
 Also, the document ready function won't trigger because you're loading the
 data via ajax. document ready only runs when the page itself loads.

Any function passed to document.ready _after_ the document.ready has
already fired will be immediately run.

--
Brandon Aaron

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-06 Thread Blair McKenzie

Really? Cool.

On 12/6/06, Brandon Aaron [EMAIL PROTECTED] wrote:


On 12/5/06, Blair McKenzie [EMAIL PROTECTED] wrote:
 Also, the document ready function won't trigger because you're loading
the
 data via ajax. document ready only runs when the page itself loads.

Any function passed to document.ready _after_ the document.ready has
already fired will be immediately run.

--
Brandon Aaron

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ajax question with javascript on called page in ie6

2006-12-05 Thread Ronald Haring - Tripolis
Hi all,
 
I've been trying hard to get the following scenario to work. On page 1
there is a link, when clicked an ajax page will be loaded and shown in a
div. However this ajax page contains some javascripts and this is not
executed in ie6. I think the problem is with ie6 but if anyone knows of
a workaround I will be gratefull. For now I will put all the javascript
that I will ever receive from these ajax pages in the calling page but
this poses a lot of problems. (since these ajax pages are part of a
wizard, the next button should be enabled and disabled based on certain
conditions which are different on each page of course).
 
An example of the simplest thing for this is:
 
parent page:
script type=text/javascript
src=http://localhost/js/jquery.js;/script
script
function loadMe() {
 $.get(http://localhost/child.html;, function(str) {
  $(#here).html(str);
  $(#here).find('script').each(function(){
eval.call( window, this.text || this.textContent || this.innerHTML
||  );
   });
 });
 return false;
}
/script
/head
body
 a href=javascript:void(0) onclick=loadMe()Click/a
 div id=here/div
/body
/html
 
child.html:
  script type=text/javascript
alert(show me);
  /script
  that's it.

I tried putting some $(document).ready(function()) on the child page but
to no avail. IE6 kept on refusing to show the alert with show me in it.
 
Gr
Ronald
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-05 Thread Jörn Zaefferer
Ronald Haring - Tripolis schrieb:
 Hi all,
  
 I've been trying hard to get the following scenario to work. On page 1 
 there is a link, when clicked an ajax page will be loaded and shown in 
 a div. However this ajax page contains some javascripts and this is 
 not executed in ie6. I think the problem is with ie6 but if anyone 
 knows of a workaround I will be gratefull. For now I will put all the 
 javascript that I will ever receive from these ajax pages in the 
 calling page but this poses a lot of problems. (since these ajax pages 
 are part of a wizard, the next button should be enabled and disabled 
 based on certain conditions which are different on each page of course).
Could you please update to the latest revision of jQuery and test it?

If you don't have SVN access, check these:
http://joern.jquery.com/dist/jquery.js
http://joern.jquery.com/dist/jquery.pack.js

The issue you are describing should be fixed in this revision.

-- 
Jörn Zaefferer

http://bassistance.de


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajax question with javascript on called page in ie6

2006-12-05 Thread Blair McKenzie

Also, the document ready function won't trigger because you're loading the
data via ajax. document ready only runs when the page itself loads.

Blair

On 12/5/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:


Ronald Haring - Tripolis schrieb:
 Hi all,

 I've been trying hard to get the following scenario to work. On page 1
 there is a link, when clicked an ajax page will be loaded and shown in
 a div. However this ajax page contains some javascripts and this is
 not executed in ie6. I think the problem is with ie6 but if anyone
 knows of a workaround I will be gratefull. For now I will put all the
 javascript that I will ever receive from these ajax pages in the
 calling page but this poses a lot of problems. (since these ajax pages
 are part of a wizard, the next button should be enabled and disabled
 based on certain conditions which are different on each page of course).
Could you please update to the latest revision of jQuery and test it?

If you don't have SVN access, check these:
http://joern.jquery.com/dist/jquery.js
http://joern.jquery.com/dist/jquery.pack.js

The issue you are describing should be fixed in this revision.

--
Jörn Zaefferer

http://bassistance.de


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/