By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,568 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,568 IT Pros & Developers. It's quick & easy.

AJAX and disapeard javascripts tags <script></script>

P: n/a
Hello everyone. I1m writing webb aplication using AJAX (prototype
library: http://prototype.conio.net/ and
scriptacuolous:http://script.aculo.us/).
My Problem is that that I'm doing XMLHttpRequest to server and i get the
piece of HTML code (one div - container). Tha div is change on site and
almost everything is good but the html code hava javascript code between
<script> and </script> and that code is missing. This is weird because
i can see the server response and everything is ok(js tag are in the
response),using greasemonkey i can see thatwhen my browser is getting
the ajax data , (still everything ok), but at the finish at browser's
output the javascript code is missing. What I'm doing wrong? or maybe
there is error in library? or maybe this is situation that AJAX not
working very vell..
thanks for any help
Gregor
Oct 11 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Grzegorz ¦lusarek escribió:
Hello everyone. I1m writing webb aplication using AJAX (prototype
library: http://prototype.conio.net/ and
scriptacuolous:http://script.aculo.us/).
My Problem is that that I'm doing XMLHttpRequest to server and i get the
piece of HTML code (one div - container). Tha div is change on site and
almost everything is good but the html code hava javascript code between
<script> and </script> and that code is missing. This is weird because
i can see the server response and everything is ok(js tag are in the
response),using greasemonkey i can see thatwhen my browser is getting
the ajax data , (still everything ok), but at the finish at browser's
output the javascript code is missing. What I'm doing wrong? or maybe
there is error in library? or maybe this is situation that AJAX not
working very vell..
thanks for any help
Gregor


Perhaps you must enclose script content using CDATA.

Andrew [ knocte ]

--
Oct 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.