similar to: Ajax.Updater

Displaying 20 results from an estimated 40000 matches similar to: "Ajax.Updater"

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
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
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
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 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. //
2007 Sep 29
0
Ajax.Updater doesn't work with IE6 properly
My environment is Apache2+php5. The test doc is "ajaxtest.php", which uses Ajax.Updater to load content from /test/test1/inphp.php. It works soomthly in Firefox. But nothing can be displayed in IE6, the brower got no response and the onComplete was not trigered. However, if I put the two doc under the same dir, everything goes well. Or, if I replace the inphp.php with a html doc such as
2005 Oct 19
1
js not executed after ajax.updater -- evalScript:true not a solution
Hi. I have a <div> on a page that I replace with a new one using Ajax.Updater. Inside this newly placed div, I am using classes and behavior.js to launch various Ajax things and scriptaculous effects. None of them, however, get triggered after the update. They also fire no javascript errors or anything of the kind. I''ve seen the option evalScripts with Ajax stuff-- but
2007 Nov 19
1
Running a script after evalScripts has completed
Hello, (I originally posted this on the Prototype-Core group by mistake, sorry) I am running a request via Ajax.Updater with evalScripts = true and an onComplete function. I find that my onComplete function executes before the script content has been evaluated. Looking through prototype.js (v. 1.5.1) this seems to be caused by the scripts being executed as part of this line (1352):
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
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:
2007 May 30
0
Ajax.Updater : About evalScripts and defining functions
I have a problem using ajax.updater, I''ve already read the article available here http://prototypejs.org/api/ajax/updater but I cannot implement the recommanded solution. I''m using "big" script with loads of functions and classes and it doesn''t work in the loaded page (with ajax.updater). The script I''m trying to include is available here :
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) {
2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page elements, but Ajax never fires back the post-sorted list. (I''ve checked with IE & Firefox, the "save this order to the DB" controller hasn''t been called.) The View: <p>Drag to sort.<span id="sort_info"></span></p> <ul id="sort1">
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
2008 Apr 29
1
Making new Ajax.Updater within a previous Ajax.Updater call
I have a button which calls a form via Ajax.Updater: <a href="javascript:void()" onclick="createMessage()">Create Message</ a> <script> function createMessage() { new Ajax.Updater( ''content'', ''message.php'', { method: ''post'' } ); } </script> This is the message.php file: <html> <head>
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
2008 May 07
1
Ajax.Updater is evaluating script twice
When I execute the code similar to the following: new Ajax.Updater( Div, Page , { evalScripts: true } ); The script embedded in the result is being executed by prototype twice. I am using IE7 but have confirmed it is also an issue with IE6. I am using Prototype version 1.6.0.2. Has anyone seen this before? I have found no related postings. Thanks for any advice. -Ben
2007 Dec 22
1
Ajax.Updater and JavaScript functions
Hello all, I have a script that uses a Ajax.Updater call to update the contents of a DIV. The code being inserted includes a javascript function, which is "called" by onClick event elsewhere in the HTML. The page initially works fine in that the DIV gets the right content, the Javascript inserted works fine. The problem I have is that if I call the Ajax.Updater again then the
2006 Nov 24
0
Using Ajax.Updater with Form
Hi, I''m trying to post to a PHP insert script and return the confirmation text in a div with Ajax.Updater, but I''m having little luck. Does anyone have any thoughts on my implementation? The page currently refreshes completely. Thanks. < rsvp.php > <html> <head> <script src="prototype.js" type="text/javascript"></script>
2006 Jan 29
2
How to fire event listener after site update by Ajax Updater?
Hi all. I have site that is updated by Ajax updater. After site is update i want to use some javascript code and I don''t want use javascript onClick. I try to use some event listener but I don''t know how to fire them. What is the event when some part of site is update by ajax? Thanks for any help Gregor ---------------------------------------------------- Chuck nie musi dzwonić