Having the toughest time writing in the function to hide numbers that are equal to or less than zero. Here is the function I want to write it in at:
function isItANumber() {
var increased = parseInt($("#increasedRevenueValue"));
if(isNaN(increased)) {
$("#increasedRevenueValue").hide();
}
}
Any thoughts? Should I use OR?
EDIT: Here is the fiddle of my code http://jsfiddle.net/YVcj7/
Try the following, Im taking a guess at what element your using.
Live Demo
And pure js.. because do we really need jQuery for this?
pure js demo