ReBuildAll Blog
Thoughts (mostly) on .NET development

Comments

   Next >
Joaopub Re: jQuery validate and the comma decimal separator
Thanks a lot, you saved me so much time that it is worth commenting !
Peter Pedersen Re: jQuery validate and the comma decimal separator
Works perfect! Thanks a lot!
SteveC Re: WSDLMerge updated
Thank you for providing this tool

Saved me a lot of pain & suffering

Cheers,
SteveC.
alex Re: WSDLMerge updated
thank you very much,
your solution helped me too!
ANDRES SANCHEZ Re: WSDLMerge updated
Thanks Lenard, it really saved my day.
Josele Re: jQuery validate and the comma decimal separator
This works for me.

$.validator.methods.number = function (value, element) {
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:[\s\.,]\d{3})+)(?:[\.,]\d+)?$/.test(value);
}

$.validator.methods.min = function (value, element, param)
{
var globalizedValue = value.replace(",", ".");

return this.optional(element) || globalizedValue >= param;
}

$.validator.methods.max = function (value, element, param) {
var globalizedValue = value.replace(",", ".");

return this.optional(element) || globalizedValue <= param;
}

$.validator.methods.range = function (value, element, param) {
var globalizedValue = value.replace(",", ".");
return this.optional(element) || (globalizedValue >= param[0] && globalizedValue <= param[1]);
}
Marinpietri Re: jQuery validate and the comma decimal separator
I love you !!!
It workded fine
ayazzali Re: jQuery validate and the comma decimal separator
Thanks!
güven Re: jQuery validate and the comma decimal separator
thanks!
Carsten Re: jQuery validate and the comma decimal separator
Great,

Thanks a lot. After a long research for a smart solution I found your blog.

Thanks!

Fabiano Spada Re: jQuery validate and the comma decimal separator
thank, very nice
Medespoir Re: Dangers of comments with ASP.NET
Cet article est original, bonne continuation https://www.medespoir.ch
Samuel Re: jQuery validate and the comma decimal separator
I found the solution 2 years ago and I'm still using it.
Thanks!!
wncroma Re: jQuery validate and the comma decimal separator
Perfect. The only effective solution I found on the web. and I searched a lot.
Thanks for the post.
Divya Tripathi Re: Dangers of comments with ASP.NET
Hello,
Hope You are doing well
First of all, I am glad to read this blog which is very knowledgable. In future please keep sharing such wonderful blog with us. Many students will get help by this blog written for this technology..NET is a software framework developed by Microsoft which provides a controlled programming environment where development, installation, and execution of the software can be done on windows based operating system.
please go through with the links-

http://www.cetpainfotech.com/technology/dot-net-training
Mr. Nice Re: jQuery validate and the comma decimal separator
Fantástico. Gracias
simon tello Re: jQuery validate and the comma decimal separator
Is work ,for net core decimal validation jquery.validate.js
Astronomancer Re: Running .NET threads on selected processor cores
A great article, and one of the few examples of how to do this. Pity I discovered itr after cutting out my own P/Invoke heavy rendition. Really should have looked closer at the Process members...and pity Framework hasn't improved in this area Sometimes is really is simpler to spin up a thread than messing with the allocation-heavy Task class...
Rik Hoofs Re: jQuery validate and the comma decimal separator
Thanks, works great!
Marck Re: Plug & Play MVC
Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site: http://www.cetpainfotech.com/technology/Advance-dot-net-training

Thank you for your post. This is excellent information. It is amazing and
wonderful to visit your site. http://www.cetpainfotech.com/technology/dot-net-training

John Re: Extending MVC validation with new rules
Saved my oats today with this example. Thanks bud!
Emy Re: jQuery validate and the comma decimal separator
Thanks!!
sopheakdey Re: jQuery validate and the comma decimal separator
It works for one comma separator but start from two comma separator not work. Any can help me?
Samuel Re: jQuery validate and the comma decimal separator
Found this solution after 2 hours of searching and it worked perfecly. Thank you so much.
   Next >