Forum: JavaScript / DHTML / AJAX Aug 4th, 2008 |
| Replies: 5 Views: 958 The pattern I posted will only return true for a dot if it has one or more numeric digits after it. Make sure you're actually trying what I posted. |
Forum: JavaScript / DHTML / AJAX Aug 1st, 2008 |
| Replies: 5 Views: 958 Try if(!form1.paid.value.match(/^(\d+|\d*\.(\d+))$/)). |