hello,
Hi ryan, i am not sure i am getting you on what ya want , is this
something like what ya want, the code below which i wrote?
function get_value()
{
var el = document.form_name.elements.length;
for(var i =0 ; i<= el ; i++)
{
if(document.form_name.elements[i].type="checkbox")
{
var id =
On Sat, 2010-02-06 at 07:53 -0800, Ryan S wrote:
> Hey Ash,Bastien!
>
>
> Rather than a regex, you're probably better off using something like
> DomDocument, where you can iterate over all of the input elements in the
> document, and check the attributes of each one to check if they match your
Hey Ash,Bastien!
Rather than a regex, you're probably better off using something like
DomDocument, where you can iterate over all of the input elements in the
document, and check the attributes of each one to check if they match your
criteria.
@Ash, You're kinda reading my mind... i did do t
On Sat, 2010-02-06 at 06:43 -0800, Ryan S wrote:
> Hey guys,
>
> As many of you might know, i totally suck at regex..so would really
> appreciate some help here.
>
> Basically i have a html page with a lot of textboxes,radios,checkboxes etc
> i need your help in the form of a regex so that whe
Why not just pass the value in the onclick?
Onclick=doSomething(this);
Would give you simple access to all the properties of that element.
This.value would pass just the value.
Bastien
Sent from my iPod
On Feb 6, 2010, at 9:43 AM, Ryan S wrote:
Hey guys,
As many of you might know, i to
5 matches
Mail list logo