Revision 4495
Added by ben leinfelder about 16 years ago
cart.jsp | ||
---|---|---|
53 | 53 |
var metacatURL = "<%=CONTEXT_URL%>/metacat"; |
54 | 54 |
|
55 | 55 |
var docids = new Array(); |
56 |
var objs = window.document.getElementById("iframeheaderclass").contentDocument.getElementsByName("@packageId"); |
|
56 |
var doc = getIframeDocument("iframeheaderclass"); |
|
57 |
var objs = doc.getElementsByName("@packageId"); |
|
57 | 58 |
if (objs.length == 0) { |
58 | 59 |
return; |
59 | 60 |
} |
Also available in: Unified diff
pull out the IE/FF differences into common method that returns the document object for an iFrame (works with IE now!)