similar to: Can anyone give a exmple of use Ajax.Response?

Displaying 20 results from an estimated 1300 matches similar to: "Can anyone give a exmple of use Ajax.Response?"

2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here. I''ve been working with prototype and plotr for about a month now, off and on, and I have pretty much hit the wall on using the data returned by Ajax.Request. I''m using some php code to return a string: {''foo'': [[0,0.0865334429075127], [1,0.0828179861705063], [2,0.0828173042602942], [3,0.0841707718624196]]} But I keep
2008 Apr 21
4
Does String.evalScripts() work on well-formed script tags?
Does String.evalScripts() work when the opening SCRIPT tag of a SCRIPT block contains common attributes? I''ve tried and it does not appear to be working. Here''s an example: <script type="text/javascript" charset="ISO-8859-1" language="JavaScript"> //<![CDATA[ <!-- alert(''look! it works!''); //--> //]]>
2008 May 24
5
TypeError : transport.responseText has no properties
Hello all, I''m using prototype in conjunction with Extjs to build out an Ajax- driven app. I''m noticing that occasionally there will be Ajax Requests that will occasionally not complete. After some investigation, I found that when I made a call to String#evalJSON, it would throw a TypeError with the following message : transport.responseText has no properties. When this
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
I am using the firebug plugin to debug my javascript code, and I get the following message while debugging. Anyone familiar with this error? See my code below: <title>My Test </title> <script src="json.js" type="text/javascript"></script> <script src="prototype.js" type="text/javascript"></script>
2007 Nov 20
3
Ajax.Updater -- Cancel DOM write?
Is it possible to cancel the DOM write to the element passed to Ajax.Updater? I didn''t see anything in the documentation, and I''d like to use this instead of Ajax.Request. There are situations where the results that are returned will not be what is expected, and I have no control over this. For this reason, I''d like to be able to cancel writing to the DOM. Thanks in
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing. I thought I''d get some feedback here before filing a bug report. http://ianty.com/updater/update_test_1.6.0.1.html http://ianty.com/updater/update_test_1.6.0.html The above are examples of this for prototype 1.6.0 & 1.6.0.1. I''m expecting the onComplete to fire after the update takes place, per
2008 Jan 30
3
Ajax.Request - nothing in responseText, I need it!!
I am at a complete loss here and I need a solution asap! Any help is GREATLY appreciated!!! I have my request going out to a php script that sends a query to my db and then echos the return data into html format. this script works fine when I go to the url in a browser and send the correct params. However, in my ajax request, nothing gets returned?! Here is my code...
2008 Mar 21
3
getElementsByClassName
I know this is deprecated in 1.6, but my question is how do I properly use the native browser implementation? Do I need to change my code? I''m having a difficult time finding examples on this. Why is this deprecated instead of incorporated into prototype? Or did I answer my own question... Also, I want to utilize the new document.querySelector. Has some one implemented this inside
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
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 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a simple mistake. I''m using the following code to read an external json file and print out its values. The problem is when I try to write the value to the browser it causes the browser to load like it hasn''t finished the javascript code. Its writing the value to the screen so I think its hanging after that
2012 Mar 05
6
Mail statistics
maybe this forum is not the ideal place for this question, but does anyone know how to track email statistics? such as clicks, delete, spam report. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2007 May 17
5
AJAX, PHP and scriptalicious
Hey, I''m brand new to AJAX and scriptalicious, so i''m hoping for some help. inside hello.php I have this piece of code to grab and loop out users in the database: function test(){ $query = mysql_query(''SELECT * FROM `testing`''); while($i = mysql_fetch_row($query)) { echo''<div class="testie">'';
2005 Jul 26
1
--delete problem
Hello, the list. Didn't find any answer in the archive (a hit, but no answer :-() testing rsync, I use the following line: rsync --rsync-path=/usr/bin/rsync -e ssh --delete -valptz --safe-links * jdd@mecum:~/temp/test between a mandrake 10.1 and a suse 9.0 a create a dummy file in start dir, run rsync, file is transfered. I delete the file in start dir, run rsync, the file is _not_
2006 Apr 26
2
Ruby On Rails Salary in the UK? how much?
Hi, What do you think is a reasonable salary for a ROR programmer in Manchester, UK? If you''re working with ROR and in the UK i''d be interested in knowing your salary :-) Your opinions would be very valuable to me JD -- Posted via http://www.ruby-forum.com/.
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for functions attached to Element via Element.addMethods. Firefox and Safari are fine. See the example below. For IE6: functions called with no attributes (ie: funcName()) correctly handle thrown errors. Funcions called with attributes (ie: funcName("foo")) will respond to the throw command and pass execution
2008 Jan 16
2
InPlaceEditor and Json in onComplete
Hi, after some search, i found this Collin Mollenhour said: While IPE is being patched, it''d be nice if the JSON evaluated response was available in onComplete. http://groups.google.fr/group/rubyonrails-spinoffs/browse_thread/thread/f6cfdfc9e535f2ef/f61d98f55f055e55?lnk=gst&q=inplaceeditor+json#f61d98f55f055e55 It''s in 2006, some news about that ? Cause i''ve tried
2007 Apr 20
15
Need help with something.
Hello, I need a way to send some script in a div or a form field to the server, have the server read it, then return the updated script to the div or form field. I can do the div and form field and such, I just need someone to explain to me how to do this. Can this be done? Thank you very much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Apr 18
5
show sum of textboxes
Hi all, I have multiple textboxes containing numbers. I want to add up all the numbers and show the sum. Can I select the textboxes by class and sum the content? This also has to happen realtime: when a number is changed ina textbox the sum should also change. can this be done? regards, Stijn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Jan 04
7
1.6 cheatsheet
Hey has anyone seen a 1.6 cheatsheet around? Johnathan Snook did a nice 1.5 one but I''ve been working with 1.6 for a while and while I can use prototypejs.org, cheatsheets are handy for jogging memories.. I checked his blog, nothing there for 1.6. Gareth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups