Top "Prototypejs" questions

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

Img src path with header params to pass

I have an img tag in jsp page where the src path requires header parameters to pass to get the …

javascript ajax prototypejs
How to have a mouseover event fire only if the mouse is hovered over an element for at least 1 second?

I want to display a dialog when a user mouses over a certain image. That part works. Unfortunately if the …

javascript prototypejs
How to get the text of a selected item in a select control?

<select name="DropList" id="serverDropList"> <option selected="selected" value="2">server1:3000</option> <option value="5"&…

javascript prototypejs
Prototype AJAX request being sent as OPTIONS rather than GET; results in 501 error

I'm attempting to access a web service with Prototype/AJAX and am running into an error I can't figure out: …

javascript ajax http-headers prototypejs
How to Force Javascript to Execute within HTML Response to Ajax Request

We're using Prototype for all of our Ajax request handling and to keep things simple we simple render HTML content …

javascript html ajax prototypejs
Browser & version in prototype library?

I am used to using Atlas. Recently i have started transitioning to jQuery and sometimes prototype. The project that i'm …

javascript prototypejs browser-detection
IE 8: Object doesn't support property or method 'getElementsByClassName'

I'm using the diapo slider which seems to work in all other browsers except for internet explorer 8. After running ie8 …

internet-explorer error-handling prototypejs slider
How to get current index in Array prototype map?

I'm using Array.prototype.map.call to store in an array a bunch of node list objects: function getListings() { return …

javascript arrays dom prototypejs prototype
Traversing to a specific child element with Prototype

Given the following markup. <div id="example"> <div> <div> <input type='hidden'>&…

javascript prototypejs
A readOnly Equivalent for HTML Select Elements

Is there an attribute or technique for HTML select fields that's equivalent to readOnly="true" for HTML inputs? I have …

javascript html dom prototypejs