You can rotate an image or any DOM element on your web page using the CSS3 transform property. However, this property alone is not enough, if you want to save or download the rotated image. I am ...
You can use a simple Regular Expression or RegExp in JavaScript along with the replace() method to replace a hyphen or an underscore in a string with a space. ...
Even though it’s basic, new programmers often struggle to figure out the correct method to set the width and height of an element dynamically using plain JavaScript. ...
Let us assume, I have an HTML table on my webpage, which I have created dynamically using JavaScript. I am using the table to do simple CRUD operations. Therefore, I have some other elements in each ...
A td element in an HTML table, defines a cell. Every td will have a value or data in it. It can hold different types of data, such as text, number, image and some time nothing at all. Now, how do ...
An HTML table can contain different types of data and can hold different elements like the IMG element or a list element etc. You can save the contents in a text file or export the table data to an ...
If you are from the Indian subcontinent, then I am sure in one more instances, your face has been captured by a webcam (with your consent of-course). Be it for your Aadhar card, PAN card or Driving ...
There are few easy ways to get the selected text of a SELECT dropdown list dynamically using JavaScript and jQuery. The selected text of a SELECT element may be different (or similar) from the value ...
I am sharing a simple example here that explains how easily you can save your form data in a text file or in a .txt file using JavaScript. ...
In jQuery, you can use the .toggle() method to toggle an element, any element. However, if you are looking for a pure JavaScript solution, then here it is. I am sharing a simple code here that shows ...