Top "Prototypejs" questions

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

How to show loading spinner in jQuery?

In Prototype I can show a "loading..." image with this code: var myAjax = new Ajax.Request( url, {method: 'get', parameters: …

jquery spinner prototypejs equivalence language-interoperability
Creating a new DOM element from an HTML string using built-in DOM methods or Prototype

I have an HTML string representing an element: '<li>text</li>'. I'd like to …

javascript dom prototypejs
How to autosize a textarea using Prototype?

I'm currently working on an internal sales application for the company I work for, and I've got a form that …

javascript html css textarea prototypejs
Testing the type of a DOM element in JavaScript

Is there a way to test the type of an element in JavaScript? The answer may or may not require …

javascript prototypejs
Iterating over every property of an object in javascript using Prototype?

Is there a way to iterate over every property of an object using the Prototype JavaScript framework? Here's the situation: …

javascript prototypejs
Can I insert elements to the beginning of an element using .appendChild()?

If the user selects an option in a dropdown box, there must be added a label and a textbox. Using …

javascript html prototypejs
JSON.stringify() array bizarreness with Prototype.js

I'm trying to figure out what's gone wrong with my json serializing, have the current version of my app with …

javascript json prototypejs
How to use javascript onclick on a DIV tag to toggle visibility of a section that contains clickable links?

Hi I've got a DIV section that has only its title visible initially. What I would like to achieve is …

javascript css prototypejs scriptaculous
Trigger an event with Prototype

Does anybody know of a method to trigger an event in Prototype, as you can with jQuery's trigger function? I …

javascript events prototypejs
How to return AJAX response Text?

I use prototype to do my AJAX development, and I use the code like this: somefunction: function(){ var result = ""; myAjax = …

ajax prototypejs javascript