[Proto-Scripty] Ajax.Updater problem with double quotes

2010-01-25 Thread Noppanit
Hi guys, I'm not really sure if this is the problem of prototype. I'm using Ajax.Updater to update my table. But It was wired that when my table is updated, instead of my table would be code table id=tableID /code it went to code table id=\tableID\ /code I really don't need to escape ,

[Proto-Scripty] wrong naming-convention

2010-01-25 Thread eddie
hi, The prototype's function visible() (available under Element) should be named as : isVisible() in accordance with naming-conventions, since this function returns a boolean value. It's not only about conventions but also it will make it easier for developers to relate the functionality with

[Proto-Scripty] multiple select box with ordering functionalities

2010-01-25 Thread Lorenzo Bettini
Hi I was wondering if there's something already usable in scriptaculous library: Having two multiple select boxes and buttons to move something from the first one to the second one (and backwards), and functionalities to change the order in the second box (similar to Sortable). thanks in

[Proto-Scripty] retreive the text from a select list

2010-01-25 Thread J Norton
Hello, I can get the values of a select list as follows: select name=billing[country] id=country class=validate-select title=Country option value=option value=GBUnited Kingdom/ option...etc var form = $('billing'); var customerCountry = form['billing[country]'].getValue(); But I can't seem to

[Proto-Scripty] Re: retreive the text from a select list

2010-01-25 Thread T.J. Crowder
Hi, For single-select select boxes, you can use `selectedIndex`: var selbox, selindex, option; selbox = $('country'); selindex = selbox.selectedIndex; if (selbox.selectedIndex 0) { alert(None selected); } else { option = selbox.options[selindex];