Displaying 20 results from an estimated 7000 matches similar to: "js not executed after ajax.updater -- evalScript:true not a solution"
2005 Oct 20
4
cross-fade effect on elements updated by ajax.updater?
Hello.
I was wondering if anybody could point me in the right direction of
creating a cross-fade effect for Ajax.Updater. If you have an element
that gets replaced by a new one with Ajax.Updater, how can we blend
one into the other?
Many thanks.
Tench
2006 Mar 22
2
problem with Ajax.Updater evalscript and firefox
Hello there people, im having a problem with the Ajax.Updater evalscripts, i
fill and div with a form that i get with the Ajax.Updater, that form had a
javascript validation, i put evalScripts true but when i get the form i had
an unexpected close in the firefox, i had a long time looking the answer but
nothing yet, somebody with the same problem? or the answer?
greets
--
//
// Ing. Francisco
2005 Aug 23
2
using the evalScript option on Ajax.Updater
Hi all,
I''m having trouble with the evalScript option on the Ajax.Updater. I''ve
removed everything except for the ajax call and a simple alert to try
and debug it. It doesn''t appear that the regex is finding my JS in the
response...
I''m doing an update request and the response is coming back correctly to
the updateConent function as this string:
<script
2007 Jun 27
1
Prototype 151; Ajax.Updater vs Ajax.Request and evalScripts=true
Why does Ajax.Updater() and Ajax.Request() differ in how evalScripts
is handled? Or doesn''t it, and I just got it wrong?
I have a module that generates an Ajax request to insert dynamic
content into a div. The dynamic content is plain vanilla HTML with
some inline javascript *functions*
I cannot get the browser to honor/execute/see those javascript
functions when I use .Request()
If I
2007 Mar 03
1
Ajax.Updater with evalScripts: true strips curly braces
When I return an html fragment to Ajax.Updater with evalScripts: true set,
and there is a script fragment with curly braces in it (a function
declaration or an object literal), the curly braces are getting stripped out
somehow, and leaving me with invalid JS.
I think this is the case because I put an alert in the evalScripts method
right before the "return eval(script)" and it had no
2006 Jul 26
3
Getting Ajax.Updater or page.replace_html to render js?
Hey guys,
I, for the life of me, cannot figure out how to get Ajax.Updater or
page.repalce_html to render the javascript in a partial. Upon page
loading, the partial gets rendered fine. But when called up to render
through an AJAX function something goes wrong.
Are you guys getting this error???
--
Posted via http://www.ruby-forum.com/.
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi,
I''ve downloaded the latest svn trunk and was glad to see that
Ajax.InPlaceEditor forms can now be correctly submitted on Safari as
well, with the server response being correctly displayed as well.
The problem is, however, that clicking again on the same element
(after sumbitting it first) will duplicate the submit form. The next
attempt will triplicate it etc, etc...
Could
2008 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 -
isn''t return result
<form action="test.php" method="POST">
<div id="country" style="border: 1px solid #ccc; width: auto"></div>
<br/>
<a href="javascript:getTest()">test</a>
</form>
<script
2006 Mar 31
2
evalScript && onComplete
Howdy all,
I have an Ajax.Updater with evalScript = true and I would like to
execute some javascript *after* the scripts in the answer have been
eval''ed.
How can I do that ?
I''ve tried with onComplete, but onComplete seems to be fired before
the inner scripts.
Thanks,
Nicolas
2006 Feb 16
2
javascript node with Ajax.Updater
Hi there, im having a problem with the Ajax.Updater, im using the
Ajax.Updater to get an divider, inside the div i have a javascript node that
i use to do javascript stuff, the problem is when i get the divider i get
whole the html but not the javascript node, thats a bug?
*anybody know what''s happening?*
--
//
// Ing. Francisco J. Calderón S.
//
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
I working on rebuilding my CMS software using AJAX, and have run into
a couple problems I cant seem to find the solution to.
I am loading up a new component of my system using the Ajax.Updater,
and it loads up the HTML fine but as the component I am loading up is
fairly complicated I want to load up its relevant javascript
functions as well at the same time.
I am using the
2005 Jul 27
4
safari vs. firefox on mac os x: flickering combination effects
Hi.
I''m wondering if this is a documented problem. Combination effects
such as .BlindDown or .SlideDown exhibit a not so fun flicker at the
end of their rendering process in Firefox on Mac OS X. This does NOT
happen in Safari.
Does anybody know how to fix this or if it will get fixed in a next
release?
All best,
Tench
2007 Nov 13
0
Ajax.Updater evalScripts:true
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:
2006 Feb 28
5
browser-crash with Ajax.Updater
Hi,
on my page I start an ajax-request which returns rhtml-code (I use
Rails) looping over some objects. When I place the following code within
the loop my browser (FF) crashs:
<script>
var set_std_objekt = function (id) {
new Ajax.Updater(''divname'', ''/dosomestuff'', {
asynchronous:true,
evalScripts:true
})
}
</script>
<a
2005 Aug 06
1
why is the result of expr. Ajax.InPlaceEditor not an object in Safari
hi guys.
i''m really thrilled about the in-place editor and rahul''s additions/
examples at http://www.instituteofthefuture.org/js/inplace.php
i know that this "mozilla only" script will eventually get fixed and
be usable in safari as well, but i can''t wait, so i''ve tried to poke
around a bit -- of course, without success. i am much more of an
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying.
In javascript, I''m using the ajax.updater, and it (obviously) writes
back out to a div. I want to then compare what was echoed out into
this div (which came from the php file I listed in ajax.updater) with
a string.
test should equal "SomeString" because that is what is being echoed
out to
2007 Mar 01
6
prototype ajax.updater response bigger than 10k on safari
Hi All,
Safari crashes everytime my ajax response is bigger than 10k, i traced
it down and found out that it breaks when evalScript is being called,
maining when extractScript is trying to match the regex.....
is this a known bug on safari?
if yes is there anyway to get around it?
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2005 Jul 28
2
autocomplete: how to access a child element of <li>
hi.
i promise this will be my last question for the day.
still playing with autocompleter, everything is working ok, but i''m
having difficulties accessing just the href attribute of <a> element,
which is a child of <li> in the autocomplete response, i.e:
<div class ="autocomplete">
<ul>
<li><a href
2006 Mar 21
16
Javascript Code inside an Ajax response
Hi, i wish to run a function that came inside my Ajax response. I read
that i have to use the evalScripts to make this, but still i couldn''t
make it work. The error said that my function isn''t declared. I look
at the Sergio Pereira tutorial about use the var xxx = function() but
still doesn''t work.
Someone could help me?
In the response this is the code:
for (var i =
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
<p align=\"left\"><b><font face=\"Arial\" size=\"2\">GFI MailSecurity''s HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>Also... with the evalScripts method, try assigning your functions
differently so they stay in memory (assign them as variables)...
myalert = function(txt)
{