Forum Moderators: open

Message Too Old, No Replies

Javascript - Check field value against an array

         

T_Virus

7:14 am on Apr 4, 2006 (gmt 0)

10+ Year Member



Hi All,

I have an asp webform that other users can fill in. For one field in that form (call it 'z'). I have an array (call it 'y') which holds all the values 'z' cannot be and I have a function (call it 'f') which needs to be launched if the value of 'z' appears in 'y'.

However, I am missing the bit that actually checks 'z' again the values in 'y' and launches 'f' if needed. I've done countless Google searches and come up with nothing.

Can anyone help?

T_Virus

7:30 am on Apr 4, 2006 (gmt 0)

10+ Year Member



Don't worry. Finally found it during a search ... literally seconds after posting here. It's always the way!