Displaying 20 results from an estimated 40000 matches similar to: "Elements application in ajax-demo"
2005 Sep 13
0
Sortable Elements Demo
Hey there - just a quick [newbie] question:
I''ve been playing with that sortable elements demo w/ Ajax callback:
http://script.aculo.us/demos/ajax/sortable_elements
I was just wondering how one would go about implementing the ability
to delete a list item?
Thanks in advance for any help!
Cheers,
Loren
2006 Jan 10
8
first ajax demo in Rails book - does it work for anyone?
Just tried the first AJAX example in the rails book (p.391-392, the
''word guessing'' thing), and the AJAX partial used seems to render as a
full page.
I''m not sure whether it''s
a) a partial bug
b) some interaction between ajax and partials
c) a change since the book came out
or
d) pilot error
I''ve checked the errata pages and it''s flagged up
2006 Jan 21
2
flickr demo
hi --
i''m a beginner to rails, so thanks for your patience.
i was following the flickr video demo step-by-step
(http://media.rubyonrails.org/video/flickr-rails-ajax.mov).
i''m using ruby 1.8.2 on mac OS X.
i keep getting this error message after typing in a tag and submitting the
form:
ArgumentError in Flickr#search
wrong number of arguments (1 for 0)
RAILS_ROOT:
2006 Mar 29
0
Fast and reliable host for database + AJAX intensive Rails application.
Hi
I''m trying to convice a client to use Rails for a new commercial web
application. At the demo/preliminary stages, our monthly hosting
budget is 20$-40$ (naturally it would increase with consumer demands).
We need a fast, reliable host at that cost range. The application has
to be fast, especially the AJAX parts. Also there''s a lot of
database-querying involved, so the
2010 Sep 04
0
Dynamic Filters with AJAX (like Redmine/Trac)
Hello Guys,
I have a model "Person" with lots of columns (date, int, string, so on) and
right now I need to make a filter for my costumer.
My goal is something like this:
http://www.redmine.org/projects/redmine/issues.
Or, even better: http://trac.edgewall.org/demo-0.12/query.
The most interesting feature for me is to be able to choose different
columns and to have customized options
2006 Jun 29
0
Ajax Scaffold for a application started using win32-process module.
Hi,
I have an RoR application(parent) which is use to kick off other RoR
applications(ajax scaffold based).
I use win32-process Open4.popen4() to start the RoR applications.
Untill recently I was using normal scaffold feature of Rails, and recently I
migrated to Ajax Scaffold; After moving on to Ajax scaffold, when I try to
start a RoR from my parent RoR, the application do get started, when I
2009 Nov 01
0
Ajax calls in application.js (authenticity_token problem?)
Hi,
I have a long list (~50) of items which should each be clickable and
will send an Ajax request to the server. Now, each item will be calling
the same action, just with a different id.
Ideally this looks like a clear case of putting the Ajax javascript in
application.js. It''s in one place, just call a single function onclick
and pass through the id.
However there are 2 issues:
1. I
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
Hi,
i''m trying to use a visual indicator for my Ajax requests. It''s based on the
shopping cart demo at script.aculo.us and works great in Firefox, Konqueror
and Opera, but fails in IE6. For some reason (timing problems?) onComplete is
executed before onLoading, so the indicator is shown but not hidden when the
request has finished.
Oddly enough it works fine in the shopping
2006 Feb 13
2
Ajax.Autocompleter is not a constructor
Hi Rails,
I am having trouble setting up an autocomplete text field. Using rails 1.0.0
and just trying to copy the simple scriptaculous demo
(http://demo.script.aculo.us/ajax/autocompleter) fails. My view and controller
are set up the same way.
In firefox 1.0.4 (and safari, don''t remember the version) I get the
Ajax.Autocompleter error in the javascript console when loading the
2006 Mar 17
4
using ajax and layouts
Hi.
I copied the layout-example from agile web dev. in rails. When I want
to use ajax to create a search field including
<head><%= javascript_include_tag "prototype" %></head>
does''nt work when I include the line in my
app/views/layout/demo.rhtml. Name of controller is demo_controller.rb.
The search-field is in app/views/demo/observer.rthml and I have to
2006 Jan 22
6
Bug in Script.aculo.us'' Ajax.InPlaceEditor?
Guys,
I am likely going to submit this as a bug, but wanted to see if anyone
else is experiencing it. I''m trying to use an Ajax.InPlaceEditor. In
firefox, it works great, but in IE, it adds two form elements when
clicked instead of one.
In other words, you have two text fields, two ok buttons, and two cancel
links after clicking an element to be edited.
This even happens when
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
Friends-
I''m happy to annouce the first alpa release of BackgrounDRb. This is
a small framework for managing long running background tasks that
allows for ajax progress bars and more. It also serves as an
Application wide cache and context store for when you need something
like sessions but shared between users and multiple backend processes
like fcgi''s or mongrels.
2006 Mar 01
1
prototype.js ajax w/ post - how to send ''+'' character
Hi,
I am trying to send input from a form to do a live php boolean search. so
an example
search string is
''+neoflex +standard +output -green''
the problem is something is filtering the ''+'' and i can figure out to to
send it.
here is the html and js that i am using.
<input type="text" id="prodid" onkeyup="autosearch(this)"
2006 May 23
0
where to initialize a variable in an AJAX based application
Hello All,
I am getting confused with best practices. I posted a topic earlier but
realized how confusing it was. Thus I will do my best to be as clear as
possible.
I am a bit confused on best practice for instanciate a variable that
will be used accross several methods within the same controller. I need
this because of AJAX, here is a description of what I intend to do:
(all this in done
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and
after I move elements I want to do ajax reqeust to serwer with the id
of dragging element and id of the element that was droppable. How to do
it? which function in Sortable class i have to overrider or modify? i
try to modife onhover method in sortable and put a ajaxRequest call
before methods
dropon.parentNode.insertBefore
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 Jan 13
2
Populating form elements with AJAX
Hi All!
Is it possible to populate a form (or certain elements) with the shipped
AJAX library? When using link_to_remote it seems that only innerHTML of
a DOM element can be updated, but I would like to set the value of a
text field (or perhaps multiple).
Greetings,
Wouter
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
1
Accessing AJAX''ed elements via javascript
Is there a way to get access (via javascript) the page elements that
were populated with AJAX (observe_field)? If you look at my source I
have:
<select name="resource[sub_focus_id]"
id="resource_sub_focus_id"></select>
But the actual select menu is filled with options because I used the
observe_field to fill in the options. Now I want to be able to access
2006 Feb 23
1
Ajax, validation, flash messages & redirects...
Hi everyone,
I''m working on an file upload page that uses an ajax progress bar
(http://sean.treadway.info/demo/upload/). I''ve also got validation on
the uploads (must be a certain file size/mime type etc). When uploads
pass validation - all is dandy. But when they fail - I can''t work out
how to redisplay the form with the flash error messages (that normally
appear
2006 Mar 20
0
Re: Problem with AJAX not working on IE
I am running the simplest web2 demo from AWDWR (./example/index) on a
slackware box running WEBrick on RadRails; with firefox and Konqueror (!)
3.4.2 anyway) everything fine; on laptop talking to my linux box, firefox
does it instantaneously; but... IE DOES DO it, but takes a full 31
seconds!!! (The RadRails WEBrick console shows the POST immediately, but IE
trundles for a full 31 seconds to