User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,772 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 2392 | Replies: 3 | Solved
Reply
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Passing textarea, text values to popup

  #1  
Nov 15th, 2007
hi to all... giving support to my projects

now i came with another problem..

when i trying to pass the values to popup am using

request.form

in the popup

will it work??

it is not working for me..

coz will not post the form for popup...

my code is here

  1. <textarea rows="4" cols="35" name="imgdescr1"><%= imgdescr1 %></textarea><br><br>
  2. <textarea rows="4" cols="35" name="imgdescr2"><%= imgdescr2 %></textarea><br><br>
  3. <textarea rows="4" cols="35" name="imgdescr3"><%= imgdescr3 %></textarea><br><br>
  4. <textarea rows="4" cols="35" name="imgdescr4"><%= imgdescr4 %></textarea>


my popup call is here

  1. <input type="button" name="B5" value="<%= strText_AdPreview %>" class="buttons"
  2. onclick="<%=adpreviewscript%>open('adpreview.asp','ad_preview','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=850,height=700,left=0,top=0');">


in the popup form i wrote like this

descr1 = request.form("imgdescr1")

will it work..

help me to sort out this prob....
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Posts: 48
Reputation: CertGuard is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
CertGuard's Avatar
CertGuard CertGuard is offline Offline
Light Poster

Re: Passing textarea, text values to popup

  #2  
Nov 26th, 2007
anto_nee,

I just replied to a similar post. In short, replace Request.Form with Request.Querystring

Please check this thread for details:
http://www.daniweb.com/forums/post47...tml#post478528

If you're still having issues, reply here and I'll get the email.
--
Robert Williams
CEO, Founder
CertGuard
Reply With Quote  
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Re: Passing textarea, text values to popup

  #3  
Nov 26th, 2007
thank you for ur interest on my prob...

i already figured out this prob and forgot to update here as solved....

actually i used javascript for retrieving the values from the form to popup..

hw the values will come by the request.form or request.querystring commands without posting the form..??

for popup i didnt post the form simply i want to display as a html.. so i used javascript..

thank you again......
Reply With Quote  
Join Date: Jul 2007
Posts: 48
Reputation: CertGuard is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
CertGuard's Avatar
CertGuard CertGuard is offline Offline
Light Poster

Re: Passing textarea, text values to popup

  #4  
Nov 26th, 2007
That is definitely another solution to the problem. Glad to hear you got it working.
--
Robert Williams
CEO, Founder
CertGuard
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 5:10 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC