search for: selectvalue

Displaying 3 results from an estimated 3 matches for "selectvalue".

Did you mean: select_value
2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
...d then it stops working. (the <select> is not sending to the text area anymore) With Opera 9.02, the select control doesn''t work at all. 1) Does prototype do anything "internally" differently for whatever it''s equivalent of var txtNode=document.createTextNode(selectValue); var textArea=document.getElementById(targetTextArea); textArea.appendChild(txtNode); is ? 2) Should I be using some other way of accessing the textarea other than the "appendChild" method? Any other ideas appreciated. Mike ============================== http://snippets.dzon...
2007 Nov 04
2
Extending DOM elements addressed by "this"
I have a function that needs to be attached to a bunch of text fields when the page loads. I would like to use the Prototype methods that are added to DOM elements by using the $() function, but I in the function it refers to things with "this". For example, this.style.borderColor. Is there a way to extend elements from the kind of scope I am looking at? For example, is there a way to
2007 Jan 11
2
In-place editor for a whole form?
I want to implement in-place editing for a hierarchical structure where the nodes are not simple text fields, but need to be represented by at least two input elements. The Rails helpers only support in-place editing for a text field, scriptaculous''s controls.js beyond that implements support for an in-place editor containing a select element. I need an editor where I essentially