troubleshooting Question

onclick in DIV tag not working in Mozilla and older verisons of IE

Avatar of vb9666
vb9666Flag for United States of America asked on
Web BrowsersASP.NET
6 Comments1 Solution452 ViewsLast Modified:
I have some code where there is a onclick event in a DIV tag. It works in new version of IE but not in IE 7 & 8 and Mozilla. Anyone know why this isn't working?

            <div class="program" style="cursor:pointer;" onclick="window.location('GBR.aspx');">
                <div class="programImage"><img src="images/Programs1.gif" style="border:0" alt="AltImage" /></div>
                <div class="programInfo">
                    <div class="programTitle">Heading Text Here</div>
                    <div class="programLine"></div>
                    <div class="programDesc">Text here</div>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros