Oh, and a good Prototype.js specific resource is:

http://beta.bigmedium.com/bm~doc/prototype-api.pdf

-E

On 2/5/07, Eric Harrison <[EMAIL PROTECTED]> wrote:
> Well, the first problem is that $F() is an alias for
> Form.Element.getValue(). It does not work on divs. If you are looking
> for what is inside the div, you're probably wanting:
>
> $(yourDiv).innerHTML
>
> -E
>
> On 2/5/07, Matthew Williams <[EMAIL PROTECTED]> wrote:
> >
> > Can anyone recommend any reading material for properly dealing with
> > JavaScript includes and scope details?
> >
> > For example.
> >
> > My index page includes Prototype.js.  I then fire an AJAX.Updater call
> > to populate a DIV but Prototype.js is invisible to the content
> > returned to that DIV.  So if I want to take advantage of a Prototype
> > function, $F(divName) for example; no such luck.  And, if I include
> > Prototype.js on the page with the content I'm fetching with
> > AJAX.Updater; it still doesn't function (despite evalScripts being
> > true).
> >
> > I think I'm needing more of a crash course in JavaScript than using
> > Prototype (along with a few other frameworks such as Dojo and RIco and
> > such).  Can anyone point me towards any good resources aimed towards
> > building sites built around the AJAX capabilities of Prototype?
> >
> >
> > > >
> >
>
>
> --
> Eric Ryan Harrison
>


-- 
Eric Ryan Harrison

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to