Hi,
I'm new to javascript. I need to be able to set a variable what get the value by an ID that contains a particular let and not exactly. Can one use a wild card?
Here is what I'm trying to do:
[CODE=javascript]var start_t_mon = document.getEle mentById("*_par tofid").value,[/CODE]
So I want to set this variable for any form field value that contains "_partofid" !
I'm new to javascript. I need to be able to set a variable what get the value by an ID that contains a particular let and not exactly. Can one use a wild card?
Here is what I'm trying to do:
[CODE=javascript]var start_t_mon = document.getEle mentById("*_par tofid").value,[/CODE]
So I want to set this variable for any form field value that contains "_partofid" !
Comment