Displaying 20 results from an estimated 400 matches similar to: "Tutorials, Howtos"
2005 Sep 21
2
Result Documents XML or JSON?
My Java servlets can generate both JavaScript objects, like
JSON, and XML. I can generate both pretty easily.
What''s best practice for AJAX responses? Return scripts to be
evaled by the Ajax control, or return XML documents and iterate
them using XML DOM?
Thanks.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
-
2005 Sep 27
8
prototype.js
Hi *,
We don''t know if you guys are the right audience, but we got a problem
with prototype.js we need to solve.
Essentially, it is a compatibility bug with the IE.
We wrote a component so it updates itself periodically using AJAX. we used the
prototype.js to accomplish this (using the periodicalUpdater object).
now the component works fine using firefox or opera, but NOT with IE.
the
2005 Sep 28
0
Prototype / script.aculo.us / XSLT 2.0
Here''s an blog on how I''m using Prototype and script.aculo.us...
http://engrm.com/blogometer/2005/09/28/relay-and-javascript-generators/
If anyone is interested in generating views and models for
script.aculo.us controllers in XSLT 2.0 please let me know.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
-
2005 Sep 19
5
accept on Sortable
Hi all,
I am working on a Google Suggest Like thing, where you can add / remove,
drag n drop ... mini-apps, it is nearly done but I need some advices
(here it is if you want to check it :
http://dev.karibou.org/default/edit ).
I am using Sortables, is it the best way to do it ?
I needed to modify the Serialize function cause I didn''t like the way I
had to id my elements. Sorry, the
2005 Oct 01
3
storing state in cookies using scriptaculous
Hi All,
So I''m using scriptaculous in rails to allow opening and closing of
messages in a threaded forum without the need for reloading the entire page.
What I was wondering was if there was some way to store the state (which
messages are open and which are closed) in a cookie or something, so
that when the user does reload the page the messages won''t all be reset
to their
2005 Sep 21
9
Ajax.Updater
Hi all,
I was wondering if one could pull a completely separate web site into a
div, e.g.
<a href="#" onclick="new Ajax.Updater(''artifact'',
''http://www.vivisimo.com/'', {asynchronous:true, evalScripts:true,
onLoading:function(request){Toggle.display(''message2body'')}}); return
false;">»</a>
it fails
2005 Sep 21
0
Other JavaScript Forums
Are their other forms for Prototype and script.aculo.us
developers? Know I''ve asked before, but I''ll ask again. Make
sure I''m not missing anything.
Thanks.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml
2005 Sep 26
0
Expando? Bubble?
The last time I worked with DHTML I found myself using a lot of
expando properties. I''d set properties and event handlers on an
element, and I''d handle events in one place.
I see that there are a lot of JavaScript objects created in
scriptaculous, and I''m not seeing expandos yet.
I found it much easier to treat the document as a data
structure
2005 Sep 28
1
script.aculo.us Design Patterns
What makes script.aculo.us and Prototype so darn special?
I was using some of the facilities of Prototype, and came around
to understanding that it was different somehow, but I couldn''t
figure out how exactly.
I was using static methods for a while, but when I wrapped my
functions into and object the library suddenly started to do
some serious lifting.
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object.
Just wanted to check with you guys if this is the correct explanation of toQueryParams().
If yes, then I''ll add it to the documentation as well.
Works for me (but I am not sure if it''s the correct way to use it).
/* String.prototype.toQueryParams takes a query string, i.e, string with
name value pairs
2005 Sep 19
9
Rails compatible JS datepicker -- beta
hi all,
I''ve built a simple javascript datepicker for use with Rails. I''m sure
others exist, but think this one is quite decent without being
overengineered.
http://projects.exactlyoneturtle.com/date_picker/
At present there''s no Rails HTML generator method for it; later I will
package it in a script/generator, but for now it is quite easy to use with
Rails and
2005 Oct 01
7
minimal browser requirements for scriptaculous
Hi,
I noticed that the scriptaculous shopping cart demo doesn''t work in
safari 1.03.
I was wondering if there was documentation somewhere that would tell me
what my minimal browser requirements were for running scriptaculous?
I found this comparative analysis on the web:
http://wiki.osafoundation.org/bin/view/Projects/AjaxLibraries
but I think it might be a bit out of date.
I did
2006 Oct 10
4
Prototype Tutorials?
Hi,
Can anyone please point me in the direction of a good prototype tutorial?
I''m not sure if one exists yet or not but I havn''t been able to find a
comprehensive one yet.
TIA
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2005 Oct 27
5
Problem passing event object
Hi all,
I''m having a problem with an Ajax.Request. I can''t figure out how I
can pass an event (an onclick on a checkbox) which causes the Ajax
Request, to be recognized in an onSuccess function. Here''s my
simplified code:
var RequiredField = Class.create();
RequiredField.prototype = {
initialize: function(chkbox) {
this.chkbox = chkbox;
this.chkbox.onclick =
2005 Dec 08
6
What does mean $(element) ?
Hi All,
In scriptaculous scripts, I don''t understand this syntaxe : $(element)
--8<---------------------------------
Effect.Highlight = Class.create();
Object.extend(Object.extend(Effect.Highlight.prototype,
Effect.Base.prototype), {
initialize: function(element) {
this.element = $(element);
...
--8<---------------------------------
I had never seen this syntaxe, I
2006 Jan 29
2
Questions about Sortable javascript
Hi,
I''ve been playing with sortable, the demos on script.aculo.us and
reading the javascript. I hope I''m not just missing the documentation
somewhere but I can''t find it. I want to do something like Sortable
for the admin side of an open source ecommerce project I''m working on
[1]. I''m relatively new to DHTML but understand the basic ideas. If
someone
2006 Mar 09
6
[Prototype] Ajax.Request include form fields?
Hi,
Is it possible to submit my form (or part of my form) with an ajax
request? I had been using dojo to do this, but having just read up on
the prototype library, I think I''d rather use prototype. The one
thing I don''t see (maybe I''m just missing it) is the ability to submit
my form (actually just parse through an element and include all inputs
as request parameters)
2006 Feb 09
3
each()
I have been reading the documentation at:
http://www.sergiopereira.com/articles/prototype.js.html
One of the examples does this:
var someNodeList = $(''lstEmployees'').getElementsByTagName(''option'');
var nodes = $A(someNodeList);
nodes.each(function(node){
alert(node.nodeName + '': '' + node.innerHTML);
});
How can I access the array index as
2005 Dec 05
3
Effect.Highlight on Ajax.Updater
Hello to all list members...
Exchuse for my bad english, I don''t write english very well.
I''m searching for a solution to hilight a div when his value change.
The value in these div is take from Ajax.Updater .
the code is:
new Ajax.Updater(''acc'',''tools/head_info.php'',{asynchronous:true});
and have a settimeout to recall it every 5 seconds.
2006 Apr 03
3
AJAX Insertion.Before
Can anyone point me to an example of how to use the Insertion.Before technique? I''ve just begun trying to use AJAX and worked through Curt''s "Ajax on Rails". The description in AWD of what this does is just what I need, there''s no example of how to use it, and I''m getting no joy using Google. Any help is tremendously appreciated.
-------------- next