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


Groups > comp.lang.javascript > #41433

Using javascript to validate a numeric condition

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups comp.lang.javascript
Subject Using javascript to validate a numeric condition
Date Mon, 11 Sep 2023 20:03:57 -0000 (UTC)
Organization NetKnow News
Message-ID <udnrrd$1d47$4@gallifrey.nk.ca> (permalink)
Injection-Date Mon, 11 Sep 2023 20:03:57 -0000 (UTC)
Injection-Info gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1"; logging-data="46215"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader trn 4.0-test77 (Sep 1, 2010)
Originator doctor@doctor.nl2k.ab.ca (The Doctor)
Xref csiph.com comp.lang.javascript:41433

Show key headers only | 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