javascript - multiple iframes on page - only IE changes the other frame properly -
i have multiple iframe items on page (vb.net based application), in particular, 1 frame holds links generate details frame. javascript working ie when used in other browser not work correctly. here line causing error
window.parent.detailframe.location.href = form + "?cat=" + cat + "&par=" + par + "&highlightid=" + highlightid; i can tell line incorrect in firefox because when placing alerts in function after line, not fire, in ie. can see needs done work in both firefox , ie? thank you.
edit:
i able use items window.parent.getelementbyid('detailframe').location or window.parent.getelementbyid('detailframe').href not window.parent.getelementbyid('detailframe').location.href - when using .location or .href iframe doesnt refresh new page.
was able redo using .src, not location.href
Comments
Post a Comment