The multiemail validation method is not working, if we call the prototype.js on the page?

I have just change the approach a little bit, as jQuery.validator.methods.email. Call(this, value, element) was not working in the previous custom method. Although I could not find the exact reason, why that was not working with prototype.

Js and what the exact solution for that problem. But the following code snippet is working as desired. Just replace that previous jquery custom email method with the following one.

I have just change the approach a little bit, as jQuery.validator.methods.email. Call(this, value, element) was not working in the previous custom method. Although I could not find the exact reason, why that was not working with prototype.

Js and what the exact solution for that problem. But the following code snippet is working as desired. Just replace that previous jquery custom email method with the following one.

Function validateEmail(field) { var regex=/\bA-Z0-9. _%+-+@A-Z0-9. -+\.

A-Z{2,4}\b/i; return (regex. Test(field))? True : false; } JQ.validator.

AddMethod("multiemail", function(value, element) { var result = value. Split(","); for(var I = 0;i 5) return false; return true; },'One or more email addresses are invalid').

I have tested at my end. It's working. Please give your suggestion for improvement if any.

– Want to be there Sep 28 '10 at 4:11.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions