[Proto-Scripty] Re: How to get SELECTED option description

2009-07-06 Thread Alexander Wallace
You should be able to do something along the lines of: var select_menu = $(tdocu); var description = select_menu.childElements()[select_menu.selectedIndex].innerHTML; - Alex 2009/7/6 Martín Marqués martin.marq...@gmail.com I have a select pull down within a form that at submition executes

[Proto-Scripty] Re: including prototype dynamically, and observe:domloaded

2009-09-17 Thread Alexander Wallace
While I don't recommend loading prototype via document.write, this might be due to including both the doc.write(prototype) and the doc.observe() function within the same enclosing script tag. See:

[Proto-Scripty] Re: getElementsBySelector search string

2009-10-30 Thread Alexander Wallace
$$([name^='myname_']) should return all elements with names that begin with myname_ Prototype has great CSS3 selectors support: check out: http://www.w3.org/TR/2001/CR-css3-selectors-2003/#selectors On Fri, Oct 30, 2009 at 10:49 AM, Yozefff yoze...@gmail.com wrote: Ok, let's day I have