I have something like that:
PEPE
...
...
...
JUAN
...
...
...
...
TITO
...
...
...
I want to get the array opt[x] using prototype but $('opt[x]') give me
only the first instance.
I need something like getElementsByName but using prototype :)
Sorry for my engli
ot;) but alas there is no space
> after it so it fails.
>
> As an alternative, looking at your code you just do... $$("input
> [type=text]") or if your collection requisites are more specific, add
> a class to the elements you want to collect and then simply $
> ("
ts a short call to do
the same... something like $X('myarray')
Well, what I was doing and I finished, so we can close this topic.
On 24 jul, 07:11, ColinFine wrote:
> On Jul 24, 1:02 am, diegoturriaga wrote:
>
>
>
> > Well... first that all thanks for your reply!
>
&
Well (first that all sorry for my english;)
When I do:
var aux = "aula";
if (aux.isJSON()) {
$('msg').value = "ERROR";
}
else {
$('msg').value = "OK";
}
returns ERROR!!!
Any Ideas?
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.u
return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);
}
On 10 mar, 16:40, diegoturriaga wrote:
> Well (first that all sorry for my english;)
> When I do:
>
> var aux = "aula";
> if (aux.isJSON()) {
> $('msg').value = "ERROR";}
>
&
First that all sorry for my english...
I have wrote this javascript events handlers:
// use mode: $('id-control').observe('keyup', enMayusculas);
function enMayusculas(evt) {
evt.srcElement.value = evt.srcElement.value.toUpperCase();
}
// use mode: $('id-control').observe('keyup', enMin
First that all sorry for my english :)
im not 100% sure but remember that ? not is a valid character... you
need to encode your data before submit your JSON
I you are using POST method not is obvius but think in GET
On 24 jun, 15:04, maalek wrote:
> Hi,
>
> I build webapp with lots use AJAX vi
>
> *How* is it not working? Which part is giving you trouble? What
> happens? When do you expect to happen?
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
>
> On Jun 25, 7:28 pm, diegoturriaga w
first of all: you indicate any encoding in the header of the page?
second: the encoding of the files match?
if js expected an encoding, but the constant is assigned to these in
other encoding... you know what is the problem ;)
a bit more but in spanish:
se puede indicar la codificación del cha