Tag Archives: HTML

HTML input tag that accepts only numeric values using JavaScript

I need to restrict certain number of input field to takes only numbers values. Basically my form is not a submit form so that i can not put the simple validation on the form submission. I want the user to be unable to enter the any other characters than numeric values. Continue reading HTML input tag that accepts only numeric values using JavaScript

JavaScript for check and uncheck all checkboxes in the html table

Problem: I have a webpage that contains a html table with the multiple options. Each option has a check box in first column and now i would like to add a link button to select all the options on the page and similarly a link button for unselect all options. How can i do that? Continue reading JavaScript for check and uncheck all checkboxes in the html table