Displaying 4 results from an estimated 4 matches for "testdiv".
Did you mean:
testdir
2008 Feb 13
8
comparing ajax.updater div in js
...'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 ''testdiv'', but it doesn''t. Instead, when I try debugging and
display test in a div, it shows up as "undefined."
Here is example code:
function Check(){
new Ajax.Updater(''testdiv'',''randy.php?ajax=1'',
{method:''post'',parameter...
2005 Dec 29
2
Can''t get scriptaculous to work
...e errors...
Undefined Value line 486
I''m using these libraries...
<%= javascript_include_tag "prototype" %>
<%= javascript_include_tag "controls" %>
<%= javascript_include_tag "effects" %>
and calling like so:
<div id="testDiv" onclick="new Effect.Scale(self,.5)"></div>
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
23
how to create RJS visual effects callbacks
I''m trying desperately to get visuall effects callbacks working in rjs
templates to no avail What I''m trying to do is fade an image, change
the div with the image to a new image, and then fade the new image back
in. How would I go about this in RJS Here''s a simple line from my rjs
that I can''t get to work. It is not using callbacks so the
2006 Feb 09
2
Strategies for updating multiple parts of the page with AJAX
Hi all,
I have a layout that''s evolving, but it looks like there will be several
divs. I''m trying to keep everything AJAX-y and avoid full page reloads. My
problem is, if I have the login box in a div, I''m going to want two other
divs to effectively "refresh" themselves to get data from the server now
that there is a user logged in.
I''m trying to