Adding images to an HTML document with javascript?

I've tried some HTML DOM code from several sites, but it isn't working. It isn't adding anything. Does anyone have a...

jQuery removeClass wildcard?

Is there any easy way to remove all classes matching, for example, color-* so if I have an element: <div id=...

Set a callback function to a new window in javascript?

Is there an easy way to set a "callback" function to a new window that is opened in javascript? I'd like to run a fu...

Update HTML5 canvas rectangle on hover??

I've got some code which draws a rectangle on a canvas, but I want that rectangle to change color when I hover the m...

Video as background parallax CSS?

I'm more backend guy than frontend, so if you consider my question as dummy, sorry for that, but I couldn't find ans...

Auto Refresh IFrame HTML?

How do I auto Refresh a Iframe every 3 Seconds with out it refreshing the entire page. I use <meta http-equiv="re...

How to create an Hours of Operation list with HTML and CSS??

I'm having trouble figuring out how to properly create a list for hours of operations using basic html and css. I ...

Angular 2 Dropdown Options Default Value?

In Angular 1 I could select the default option for a drop down box using the following: <select data-ng-mod...

Absolute position and Overflow:hidden?

<div id="parent" style="overflow:hidden; position:relative;"> <div id="child" style="position:absolute;"&...

HTML Email Signature on iOS - Images are not displaying.?

I have created an HTML email signature using the usual tables and inline styling. There is also one image attachmen...

Simple code not working in chrome?

This is not working in google chrome. Any idea why? <html> <head> <style type="css/text"> ...

Scroll the page on drag with jQuery?

I have tried using kinetic.js and the code below, however when I try this in IE11 it keeps jumping to the top every ...

How to show text on image when hovering??

I'm trying to show a description when hovering over an image. I've already done it in a less than desirable way, usi...

Javascript onclick div element load page similar to link?

How do I load another page on the onClick event in Javascript? <div id="div_man" onclick="/subfolder/index.htm"&...