Allow Only Numeric Value in Textbox Using JavaScript

Allow Only Numeric Value in Textbox Using JavaScript

When you create a form with an input box for getting mobile number or amount then you must restrict the user to enter an only numeric value. In this article, I am going to show you how to allow the user to enter only numbers in the input box.  To allow only numeric value in … Read more

How to add !important to CSS attribute with jQuery

How to apply !important to CSS Attribute Using jQuery

The !important property is CSS is used to give more importance than normal CSS property.  In css , !important mean “this is important”. Using !important property means ignore all rule and apply it. In jQuery, We use css() methods to set or returns style properties to the selected elements. In this tutorial, I am going … Read more

How to Receive JSON POST with PHP

How to Receive JSON POST with PHP

We all know that $_POST is used to collect post data in PHP. That’s true. But when we try to get JSON post data using $_POST then it fails. Recently I was working on project and need to receive JSON POST with PHP. I had expected that JSON POST data in $_POST superglobal variable but … Read more