#1 (permalink)  
Old 02-15-2005, 09:22 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
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
Reply With Quote

  #2 (permalink)  
Old 02-15-2005, 06:18 PM
Registered User
 
Join Date: Jun 2004
Location: Ann Arbor, MI, USA
Posts: 73
Send a message via ICQ to \Kritikal\ Send a message via AIM to \Kritikal\
Why are you putting the phone number in an iframe?
__________________
-\Kritikal\-
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 04:29 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter