ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 10th, 2003, 07:04 AM
aspuser25 aspuser25 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 141 aspuser25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
IFRAMES.. providing value to it?

hi i was trying to assign value retrieved from database to an IFRAME. can it be possible?

<TD>
<IFRAME ID="iframe" name="iframe" width="80%" height="300" value=<%=Rsa.fields("student_name")%>></IFRAME>
</TD>

bec i am not getting any error and also there i am not able to see any value in the IFRAME.

any idea?

Reply With Quote
  #2  
Old September 10th, 2003, 09:58 AM
OldJacques's Avatar
OldJacques OldJacques is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: in Orbit mostly
Posts: 148 OldJacques User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Several troubleshooting suggestions, in general, since the cause is unknown:

check the HTML source to see if the value is getting passed as you expect it to be (even if you can't see the results)

echo the value of <%=Rsa.fields("student_name")%> outside the Iframe to see if it is what you are expecting, with something like:
<%Response.Write VbCrLf & "the Student Name field has a value of::"&Rsa.fields("student_name")&"::<br />" & VbCrLf & VbCrLf %> (outside of the form) and even outside of the table if possible.

substitute the ASP code with static code to see if it is complicated by the ASP/DB code.

Getting back to this specific case, the IFRAME content is not usable from the "value" parameter which I don't believe exists. It should be listed as the src="" parameter which requires an external document, I think.

Last edited by OldJacques : September 10th, 2003 at 10:01 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > IFRAMES.. providing value to it?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway