Displaying 16 results from an estimated 16 matches similar to: "RJS Error: Element.update is not a function"
2006 Apr 01
3
Gracefully degrading Ajax AND Drying up actions
Still a semi-newbie, but so far I''ve managed to solve most things with a
bit of help from the Agile book, some googling around, and a bit of
trial-and-error, but I''m really stuck with this one (very much an Ajax
newbie):
I know how to gracefully degrade an AJAX newpost type call so it can
appear inline or (for those without JS support) go to a new page (put an
":href
2007 Apr 06
5
Getting a dynamically generated elements dimensions
Ive posted this before, but unfortunately I still have yet to resolve
it after numerous attempts...
Here is the overview: populate a container element with some new html
using Element.update and then retrieve the new dimensions of the
containig element.
Here is a bit of code snippet that I would think should work.. but
doesn''t:
==== start snippet ====
<style>
.bigBox {
2006 Jan 13
2
file_column in session
is it possible to store a field of type file_column in the session?
Rails crashes on me every time i try to do something like the
following:
@session[:newpost] = @params[:post]
however if i assign each field of @params[:post[ except for
@params[:post]["image"] i have no problems. Is there something that
should be done to allow the file in the session?
thanks
adam
2006 Jul 14
5
Ideas for AJAX pagination
Hi,
I am looking for ideas on how to remove the last item from a
paginated page when a new item is inserted, thus leaving only 10
elements on the page.
Currently I have a form that inserts with AJAX, but as expected, each
post added to the page just increases the number of posts leaving 11
on a page that should only be displaying 10.
I have unique ID''s for each post (e.g.
2007 Oct 24
28
random cpu spikes, EBADF errors
In May I had problem with mongrels suddenly consuming huge cpu resources for
a minute or two and then returning to normal (load average spikes up
to 3.8and then back down to a regular
0.2 over the course of 5 minutes, then again 1/2 hour later. or 4 hours
later, no predictable rhythm).
I posted to Litespeed forums because I thought the problem was there but
didn''t get far. And a week
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find
anyone else who''s attempted to do this, and probably with good reason.
Context: blog using AJAX
What I''m trying to do: when the user initially saves a blog entry, or
when auto-saving, I want subsequent saves to not create a new blog
entry
Why I can''t just reload the partial:
-
2006 Sep 20
1
possible bug in PHP Markdown implementation of footnotes, as well as request for standardized XHTML output
I am glad to see support for footnotes working its way into other
implementations of Markdown!
However, I have a couple of issues.
Issue # 1. There appears to be a bug in the footnote parser that
causes material following the footnote to be included as part of the
footnote. For example:
< Example Section >
## Metadata ##
First, take a look at the overall structure of the document.
2006 Aug 08
1
Using wine for automatization
Hello list
I have a windows application that is runnable under wine. Now i want
this app to be controllable without the gui. For Reasons somewhere
between licensing,a crazy management, and legal issues this app cant
be replaced be a better solution nor can i reverse engineer it to
find out what is does and then recode that. And it has to run under
linux.
So the plan for automatization
2003 Oct 29
0
rank function
<!--startrecall--><img src="http://mail.skku.edu/mail/write/mail_recall.php?f_headindex=1215810-2003022633787-R-help@stat.math.ethz.ch"><!--endrecall-->
Hello! I have a question on rank function that i'm working on now.
Even though my English i not good, I hope you understand what i'm asking for. It is a program that i
2007 Jul 12
0
No subject
created you must place it in your web directory on the server.
=20
I chained the command and also wrote the output to an xml file in the
web directory. The command looks like this:
=20
'php /etc/asterisk/directory.php.txt > /var/www/html/directory.xml'
=20
System Speeddials using Services Button =20
=20
For speed dials I modified the php code to look to a specific file in
the
2007 Jul 12
0
No subject
file is
created you must place it in your web directory on the server.<br>
<br>
I chained the command and also wrote the output to an xml file in the =
web
directory. The command looks like this:<br>
<br>
‘php /etc/asterisk/directory.php.txt >
/var/www/html/directory.xml’<br>
<br>
2006 Feb 28
5
browser-crash with Ajax.Updater
Hi,
on my page I start an ajax-request which returns rhtml-code (I use
Rails) looping over some objects. When I place the following code within
the loop my browser (FF) crashs:
<script>
var set_std_objekt = function (id) {
new Ajax.Updater(''divname'', ''/dosomestuff'', {
asynchronous:true,
evalScripts:true
})
}
</script>
<a
2006 Aug 09
2
Can :before and :success move from view file into .rjs file?
Within the RJS template is there a way to specify when the visual_effect
should occur?
I''m trying not to repeat the :before and :success blind_down
visual_effect statements throughout my views.
It seems like the rjs templates can only take visual effects statements
in the form of
page.visual_effect :blind_up, ''divname''. I can''t figure out how to add
2008 Apr 10
7
Is Asterisk really good??
So this is just a general question, Is Asterisk really good?
Reliability?
Functionality?
Customization's?
I am coming from a Nortel world, were you pay for everything, and you
can't delve into the software. But it seems that customization would be
a great thing.
Like, setting up a war-dialer to customer lists, incoming/outgoing
faxes (that's possible with Asterisk, right?) and
2006 May 17
9
Render No Layout?
Hi guys,
Am having a problem.
I have this def in my index controller that works like this:
def do_something
$a = variable1
$b = variable2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial =>
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* allan (1.0)
Alan Lee
http://crantastic.org/packages/allan
Automates Large Linear Analysis Model Fitting
* andrews (1.0)
Jaroslav Myslivec
http://crantastic.org/packages/andrews
Andrews curves for visualization of multidimensional data
* anesrake (0.3)
Josh Pasek
http://crantastic.org/packages/anesrake
This