|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
javascript validation help
function validateform(val)
{ if (document.theForm.propid.isInteger) { window.alert('Please enter only numbers in the property search field'); return false; its ment to only allow intergers, but its not work anyone able to help. |
|
#2
|
||||
|
||||
|
Actually, you'd need to test for the opposite condition. You're saying "if it's an integer, return false." Also, where are you getting isInteger from? It's not a function I'm familiar with in js.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > javascript validation help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|