Top "Prototypejs" questions

Prototype is a JavaScript Framework that extends built-in classes to ease JS development.

Prototype equivalent for jQuery live function

I need to bind event listener to all dynamicaly created elements by given css selector. In jQuery, that would be $(".…

javascript jquery events prototypejs
Can Prototype or JQuery return an HTTP status code on an AJAX request

url = "http://example.com" new Ajax.Request(url, { onComplete: function(transport) { alert(transport.status); } }); I'd like that to return a …

javascript jquery ajax prototypejs transport
Pass in local variable to callback function

Question How can a callback function retain a local variable from whence it was created? Simple example I'm creating a …

javascript scope prototypejs
Wrapping a div around the document body contents

I am trying to dynamically wrap the contents of a document's body tag in a DIV. So far, I have …

javascript html prototypejs
Slimscroll scroll down only on div update

I am developing a chat with comet and i would like Slimscroll to scroll down only on div update because …

jquery prototypejs slimscroll
Rails observe_field using jQuery

Is there an equivalent to the Rails/Prototype observe_field method using jQuery without jRails? I am doing a search-as-you-type …

jquery ruby-on-rails prototypejs jrails
Popover hides parent element if used with Prototype JS

After updating to bootstrap 2.3.0 I noticed strange behaviour of popover tooltip. If you enter the field and try to navigate …

jquery twitter-bootstrap prototypejs popover
Generic way to fill out a form in javascript

I'm looking for a really generic way to "fill out" a form based on a parameter string using javascript. for …

javascript html forms prototypejs
When should I observe Javascript events on window vs. document vs. document.body?

I'm using prototype.js for my web app, and I have everything running on Chrome, Safari, and Firefox. I am …

javascript cross-browser prototypejs dom-events
What is the logic of Lightbox 2 on where to position the popup?

What is the logic of Lightbox 2 on where to position the popup? It seems that when using Firefox or Chrome …

javascript css prototypejs lightbox2