I have 2 divs(a,b) inside a div(x). so a has z-index 1 and b-2. the page displays fine and only when i hit submit it throws an error saying the object does not support the property and refers to document.getElementByID(‘button1’).click();
Looks like this is a bug with IE. but I couldn’t find any thing concrete to start fixing this problem.
The page is loaded in frames in side a custom portal. Is the problem because the form that the button is trying to submit is not on z-index?
It would be great if some one could guide me to a solution.
Thanks.
css code below:
<style type="text/css">
#x { position: relative; }
#a, #b{ position: absolute; left: 25%; }
#a{ z-index:1; }
#b{ z-index:2; }
</style>
Thanks for the replies. Looks like it wasn’t the problem with z-index or document.getElementByID(‘button1’).click() . It was more of a bug within the proprietary tool i use at my work.