Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #41433

Using javascript to validate a numeric condition

From doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups comp.lang.javascript
Subject Using javascript to validate a numeric condition
Date 2023-09-11 20:03 +0000
Organization NetKnow News
Message-ID <udnrrd$1d47$4@gallifrey.nk.ca> (permalink)

Show all headers | View raw


I am trying to using jquery.validate.js 

to validate a total to be greater than 0?



Here is part of the code I am working with

<script>
  $(document).ready(function(){
      $("#blogm").validate({
       

	 rules:{
	    charge_total:{
		required:true, }, ...

		Is this correct?

-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Manitoba on 3 Oct 2023 vote Liberal! Beware https://mindspring.com

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Using javascript to validate a numeric condition doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-09-11 20:03 +0000
  Re: Using javascript to validate a numeric condition "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2023-09-11 17:44 -0700
    Re: Using javascript to validate a numeric condition doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-09-12 04:30 +0000

csiph-web