Skip to content Skip to sidebar Skip to footer

Prototypejs Get Value Of Each Input

I write following function to read inputs from my fieldset, it works but I have no idea how to read value of selected this way input $$('#split_edit div label input').each( funct

Solution 1:

Using item.value:

$$('#split_edit div label input').each(function(item) {
  console.log(item.value);
});

Post a Comment for "Prototypejs Get Value Of Each Input"