Javascript validation
<p>My issue is i need to validate the Card(Master, Visa, etc). In this i have to check different condition for different cards.. and i am using the following way to validate..</p>

<pre><code>"CardNumber" : ["CardNumber", /^[51-55]{16}$/, true, "Please enter the valid card number."]
</code></pre>

<p>here i can check only master card and i need to check many card.. and the card number is the name of the text box of card number which we get from the user and the Card types are shown in a drop down and its name would be Card type,,, so how i need to use the above validation for all all card type....</p>
