JavaScript: Remove Space From String Examples
Do you wish to remove space from string using JavaScript? In this article, I am going to share examples on how you can remove space between string very easily. Read on to find out more.
Do you wish to remove space from string using JavaScript? In this article, I am going to share examples on how you can remove space between string very easily. Read on to find out more.
Over the web, at one point of the time or the other, you may have seen websites in which a textarea shows some default value, such as “Enter your comments” and when you click inside of this textarea, this default value vanishes. This is default value is called a “Textarea Hint” as it serves the […]
At times it might be desirable to jump to a specific div in a web page, just like a named anchor. If you don’t know what a named anchor is, in brief, it is a link within a page, rather than a link to a separate page. So, can we simulate the same behavior, for […]
If you have worked with forms, then you would know how important it is to process the form input to make sure that all the required information is filled out properly. In this article, I am going to share a very easy way that you can use to check if Textbox is Empty using JavaScript.
In JavaScript, the substring() method extracts the characters from a string, between two specified indices, and returns the new sub string. So if you want to find out how to use Substring in JavaScript / jQuery, then this article is for you as the solution is the same. Examples follow. So read on to find out […]
Have you ever wanted to get image dimensions using JavaScript? In this article, I am going to share an easy way to use JavaScript to get image dimensions (width & height).
You can redirect page using JavaScript with just 1 line of code. You also have the option of redirecting immediately or redirect after 5 seconds. Read on to find out more on how to do this.
Let”s say that you are showing an iframe in a page. If you notice, you will see that the contents of the page will also be shown in the iframe by default. Using this simple 1 line trick, you can remove iframe html using javascript.
In this article, I am going to discuss about Javascript: Add minutes to date i.e how to add any number of minutes to a date.