Skip to content
Advertisement

How to clear text field automatically when enter minus value

`

JavaScript

‘qty=””‘ is the correct way as mentioned on google. but not working for me.

Advertisement

Answer

Try

JavaScript

and cast qty to number in your if

JavaScript
Advertisement