|
| |
|
|
sduraybito
Posts: 29 From: Denver, CO Status: offline
|
Using javascript to call databse results - 8/17/2001 13:20:00
Anyone out there using javascript to call database results?Here's what I'm doing: I've got an asp page returning a database result set. On the same page, I have included an htm page (using Include Page Component) with text boxes in a form that gets sent as e-mail. I'd like to populate the text boxes with the default database results. I've tried entering things like javascript:request('myasp.page?name=::name') and so forth, but nothing seems to work. Any thoughts? ------------------ Siegfried
|
|
|
|
davebukouricz
Posts: 300 From: Ma None Status: offline
|
RE: Using javascript to call databse results - 8/17/2001 19:05:00
Yes I guess my first question would be "why Javascript? Be using Javascript for something like this you run the real risk of 1. Pulling all of your hair out. 2. Making something that even if it could work, (I have my doubts) would do some really strange things in different browsers.Why not populate the cell with the results dynamically using ASP? Having said all of that, realize there are few people in this forum that are more pro Javascript than I. But it has it's time and place and I'm not sure this is one of them. PS I find on many of my pages a combination of VBScript, JavaScript, and SQL to perform all of the functions that I need. This includes serving up 90% of a web portal dynamically. Now if I could only remember where I put those brain cells......
|
|
|
|
sduraybito
Posts: 29 From: Denver, CO Status: offline
|
RE: Using javascript to call databse results - 8/17/2001 19:10:00
quote: Originally posted by davebukouricz:
Why not populate the cell with the results dynamically using ASP?
ASP and FrontPage's Form Handler don't like each other. That is why the htm email form is incorporated as an Include Page component in my ASP page. ------------------ Siegfried
|
|
|
|
Stuey
Posts: 203 From: Dudley West Midlands, United Kingdom Status: offline
|
RE: Using javascript to call databse results - 8/20/2001 20:47:00
On the last page of the DRW You can choose to put the results into a form field.Select that and the configure then form properties to send e-mail If your stuggleing E-mail me and I'll let you have some more details ------------------ Stuart Steele StuWeb Productions 07808254916 http://www.stuweb.co.uk
|
|
|
|
sduraybito
Posts: 29 From: Denver, CO Status: offline
|
RE: Using javascript to call databse results - 8/20/2001 20:52:00
Thanks for your reply Stuart. My understanding is that asp pages won't send e-mail. So no matter how I format the DRW results, it must still be an asp page. Or am I missing something?------------------ Siegfried
|
|
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
|
|
|