I\’m working on some 15 year old code and there is a line that only seems to actually get set and be usuable in IE. I can\’t change that line because there actually more of them and referenced in other asp pages, I know, a nightmare.
The code:
parent.frmParent.id_item.value = \'<%=Request(\"id_item\")%>\' //The actual string
//doesn\'t matter...
I\’ve tried:
var parent.document.getElementById(\"id_item\").Value
var parent.document.getElementById(\"frmParent\")(\"id_item\").Value
Am I close? It must exist in the DOM.





Rating:
The post web – Standard JavaScript for this appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/web-standard-javascript-for-this.html
No comments:
Post a Comment