troubleshooting Question

Capturing the value of form elements on submit within an Iframe

Avatar of MayoorPatel
MayoorPatel asked on
3 Comments1 Solution191 ViewsLast Modified:
Hi there I have a form with various form elements on it, textboxes, e.t.c I also have 4 iframes which hold form elements. At the moment when I submit the form the values of the iframes are not being submitted, only the values on the parent form are being submitted. Is there anyway I can capture the values of the iframes as well as the parent form values?

Here is an example of the Iframe.

                src = 'clientdrp.asp'  
                id = 'ifrClient'
                name = 'ifrClient'      
                frameborder = '0'
                width = '230'
                height = '20'

and here is an example of the content within that Iframe.

<div id="menu" style="position: absolute; top: 0px; width: 436px; left: 0px;" align=left>
   <select name="ContactID" size="1">
    <option value="0">-- Please Select A Contact--</option>                        
    Do Until objRSProjectManagerList.EOF
        Response.Write("<option value=""" & objRSProjectManagerList.Fields("Id") & """>" & objRSProjectManagerList.Fields("FirstName") & " " & objRSProjectManagerList.Fields("LastName") & "</option>")
    Set objRSProjectManagerList = Nothing

as you can see the name of that dropdown is ContactID, so if I could capture that, it woujld be great.

Thanks in Advance!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros