Hi,
I am getting a strange error using jQuery 1.3.2 and Firefox. I have created a small popup window for an element and I am using the code
var popupWindow = $($('#template')[0].innerHTML).css(
'top', top).css(
'left', left).css(
'position', 'absolute').css(
'opacity', '1');
I then use the Append() and AppendTo() functions to basically provide and I try and determine the height and width but get JS exception errors per below
var right = left + $(popupWindow).width(); // empty width, js exception
var bottom = top + $(popupWindow ).height(); //empty height, js exception
popupWindow is shown for the Append() command but then it is impossible to get width, height, elements as they arent visible inside FF-DOM.
In IE everything works fine but not in Firefox?
Does anyone have any ideas as I been trying for few hours now and getting a brick wall.