navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

update database from pop up window

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> update database from pop up window
Page: [1]
 
ACEDISH

 

Posts: 176
Joined: 9/30/2002
From: Manassas, Virginia
Status: offline

 
update database from pop up window - 10/24/2002 21:26:18   
I am trying to pass parameters to a pop up window and having difficulty. The pop up works fine until I add ?ID=<%=FP_FieldURL(fp_rs," ID" )%>

here is the code i am using

<a href=" #TOC" onClick=" window.open(' cleartrans.asp?ID=<%=FP_FieldURL(fp_rs," ID" )%>' ,
' newWindow' , ' width=275,height=275,scrollbars=no,resizable=no' )" style=" text-decoration: none" >

Any help as always would be much appreciated,
Costa Apostolakis
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: update database from pop up window - 10/25/2002 11:00:29   
Hi Costa,

What do you want with the parameter?


Do you have an eidt form on the popup?

Regards
Hisham

(in reply to ACEDISH)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: update database from pop up window - 10/25/2002 11:31:36   
2 things I would check:

1. Is it inside a DRW (so that the ' fp_field' works)?

2. Try changing to FP_Field (instead of FP_FieldURL)

<a href=" #TOC" onClick=" window.open(' cleartrans.asp?ID=<%=FP_Field(fp_rs," ID" )%>' ,
' newWindow' , ' width=275,height=275,scrollbars=no,resizable=no' )" style=" text-decoration: none" >

(in reply to ACEDISH)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: update database from pop up window - 10/25/2002 13:20:20   
Costa,

I have the exact same link type to a popwindow in one of my sites All my variables passed are used as FieldURL. rdouglass was correct. Check and change these in your code line is applicable.

Also, I would remove the TOC from your line <a href=" #TOC" . Just put the #.

_____________________________


(in reply to ACEDISH)
ACEDISH

 

Posts: 176
Joined: 9/30/2002
From: Manassas, Virginia
Status: offline

 
RE: update database from pop up window - 10/27/2002 17:23:38   
Thanks for your help, My code actually works I was confused because when I would use the preview tab in FP there would be errors but once I published to my site it worked fine.

Thanks Again,
Coz

(in reply to ACEDISH)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> update database from pop up window
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts