I\'ve got a quite strange problem here. I\'m calling some simple code via Ajax.Updater: new Ajax.Updater(\'load\',\'http://myurl.com/demo.pl?key=demokey¶m1=xyz¶m2=abc\',{
I want to be abl开发者_StackOverflow社区e to show some data based on criteria the user enters in a text field.I can easily take this data, process the form post, and show the data on another page.Howe
I\'m trying to return a value from (transport) to the calling function, but can\'t seem to get it to work:
I\'m trying to move elements between two lists. Elements when clicked should move to the other list. Prototype JS code:
I\'m wondering what the best practice is for passing variables to JavaScript functions in a rails view.Right now I\'m doing something like:
I am trying to find an equivalent for the following jQuery javascript: var x1 = setInterval(function() { $(\'#status\').load(\"processor.php\", {value:\'name\'} );}, 5000 );
After reading http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html I just can\'t seem to find what I\'m looking for. I have a simplistic model that deletes the oldest message aft
I\'m trying to query a web service (with JavaScript, prototype). The server responds with XML, but compresses it; headers are set appropriately.
I want to do something like this... var Color = Class.create({ initialize: function() { this._color = \"white\";
Particularly the bit about live.... jQuery(\'.something\').live(\'click\', function() { jQuery(this).parent(\'form\').reset();