Hello,

i habe a problem to include <script> code in div container.

function ajaxUriDivJava(url, z)
       {
           try{$(z).innerHTML="<centrer><img src='http://
static.mymir.org/wait30trans.gif'></centrer>";}catch(e){}
           var pars = '';
           var myAjax = new Ajax.Updater( {success: z}, url,
{ method: 'get', parameters: pars, onFailure: reportError,
evalScripts:true });
           return false;
        }

page:

==========
<script>
MyJavascript
</script>

HTML CODE
==========

Result:

==========
HTML CODE
==========

Any ideas?

Vlad


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to