Category Archive for: "JavaScript"

  1. JavaScript

    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.

  2. JavaScript

    Prepopulating Textarea With Hint Using JavaScript

    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 […]

  3. JavaScript

    Javascript Jump To Div Examples

    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 […]

  4. JavaScript

    How To Check If Textbox Is Empty Using JavaScript

    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.

  5. JavaScript

    JavaScript Substring / jQuery Substring Examples

    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 […]

  6. JavaScript

    JavaScript Get Image Dimensions (Width & Height) Examples

    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).

  7. JavaScript

    Redirect Page Using After 5 Seconds Javascript Examples

    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.

  8. JavaScript

    Remove Iframe html using Javascript

    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.

  9. JavaScript

    Javascript Add minutes to date Example

    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.