Ah, now, that's interesting. I did try to use evalScripts, but I
couldn't find any clear examples of how or where to apply it. I tried
putting it in the places it seemed logical, but without effect.
So, ok, I have an HTML page includes an onclick to fetch some content
which will include scripts.
Hello.
<%= link_to_remote 'click here', :update=>'some_div', :url=>
{:action=>'some'}, :submit=>'group' %>
is what I want to implement using Ajax.updater.
To do this I coded ( it is invoked when I clicked some link or button,
whatever )
new Ajax.Updater('some_div', url(:action=>'some'),
{
Hi,
I'm surprised by the POST data you quoted, but it doesn't matter, I'm
pretty sure I know what's wrong.
I was hurrying too much when posting my reply. You don't have to URL-
encode the JSON string if you're going to give Ajax.Request a
parameters *object* rather than parameters *string*, bec
Hi Jake,
I know you said to cancel your post (it had already been posted), so
you're not expecting an answer, but:
> element = Element('div') // Doesn't work when created this way.
It's "new Element(...)", not "Element(...)". (See [1], scroll down to
"Element as a constructor").
> element.
I'm looking for a simple (Yes/NO) prompt with a timeout and fade away
function so it can "live" on the screen, accept "Y" or "N" or enter or
escape, with "N" as the default, and Escape as cancel.
It should live within a layer and disappear after a set number of
seconds.
Any leads?
Steve Moyer
ht
Hi,
Cancel my last post please. 1.6.0.3 solves my problem. Thought that's
what I was using, but guess I wasn't
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this gro
I am using prototype 1.6.0.3 and IE8. Although I think the same
problem occurred in IE7. Why do the following lines of code give
errors?
element = Element('div') // Doesn't work when created this way.
element.attachEvent('onclick', function(evt) {alert('hello')} ); //
can't attach event.