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 ,
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
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
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
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];