|
Using Iframe in a text box
Morning,
I am using iframe to create a dynamic list of phone numbers. When a user selects a location a corresponding phone number pops up in the iframe. My question is how do I go about making that iframe as part of the form submission. On the form I have this:
<iframe id="phonenumber" name='phonenumber' FRAMEBORDER=0 SCROLLING='no' WIDTH=120 HEIGHT=40></iframe>
<input type="text" name="phonenumber">
the page it goes to is:
strSQL = "select locationprefix as phone from location where locationid='" & request("location") & "'"
Set objRS = objConn.Execute(strSQL)
Response.Write "<input type='text' name='phonenumber' value='" & trim(objRS(0))& "'>"
objRS.Close
It all works I just can't get the phone number to submit to the database.
Any thoughts or suggestions would be greatly appreciated.
Thanks
Laura
|