I'm needing to build a dynamic entry form - where the person putting in information can add to the list of criteria. But with ASP you need to refresh the page for the dropdown to show the new criteria.
So I figured IFRAME, I could just do a refresh there without loosing the rest of the page of entered info.
But how do I grab the value from the iframe?
Earlier balajees responded with
You can refer the iframe using
self.frames['nameoftheiframe']
ex:
<iframe name=DataFrame src='data.asp' >
</iframe>
you can refer the contents of the iframe as
self.frames['DataFrame'].document.form1.text1.value
but I get this error
Expected end of statement
/admin/addentries2.asp, line 37
rs5("fldSalesPerson"
= self.frames['salesframe'].document.form1.fldsalesperson.value
any ideas?
"Insert witty remark here"
Stuart
So I figured IFRAME, I could just do a refresh there without loosing the rest of the page of entered info.
But how do I grab the value from the iframe?
Earlier balajees responded with
You can refer the iframe using
self.frames['nameoftheiframe']
ex:
<iframe name=DataFrame src='data.asp' >
</iframe>
you can refer the contents of the iframe as
self.frames['DataFrame'].document.form1.text1.value
but I get this error
Expected end of statement
/admin/addentries2.asp, line 37
rs5("fldSalesPerson"
any ideas?
"Insert witty remark here"
Stuart