Links aren't generating

Posted by user2680614 on Stack Overflow See other posts from Stack Overflow or by user2680614
Published on 2013-10-18T03:37:35Z Indexed on 2013/10/18 3:54 UTC
Read the original article Hit count: 81

Filed under:
|

I have a form and I can't get my links to generate. The next button is supposed to light up followed by a bit of text.

How it's supposed to work: http://jsfiddle.net/zMQcn/

The one that doesn't work: http://jsfiddle.net/Yq8Qf/

document.getElementById("linkDiv").innerHTML="<input type=button value=Next onclick=\"window.location.href='http://yahoo.com/';\">other 8b white</input>";
        }

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html