ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Iron Speed
Go Back   ASP Free ForumsProgrammingASP Development

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 ASP Free Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 8th, 2008, 09:20 AM
rgopinathan rgopinathan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 1 rgopinathan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 30 sec
Reputation Power: 0
ASP code not working

I have an ASP code that has to delete records based on a user response. I update a log table for the delete.

If Action = "Delete" Then
sSQL = "udpate MylogTable set cust_id = " & Session("custid") & " WHERE ref_id IN ...........
End If

The page displays a link which the user has to click, to delete a record - <A HREF="javascript:MyDel_func()">

In the javascript function MyDel_func, I have the following code:
resp_val = window.showModalDialog("MyAsp.asp","","dialogWidth:300px; dialogHeight:200px; scroll:auto; center:yes; status:no; help:no");
if(resp_val == "delete"){
document.form1.Action.value = "Delete";
document.form1.submit();
}

The MyAsp.asp is actually a confirmation window. In this I have a button as follows.
<INPUT TYPE="button" NAME="DeleteButton" VALUE="Delete" onClick="MyDelete();"

In the MyDelete function I have the following two lines of code.
window.returnValue = "delete"
window.close();

Now the problem is:
1) Using AOL Version 9.1
After clicking the delete link the user got the window to confirm the deletion. He hit delete in this window and it went away, but the entry remained and was never deleted.
2) Using IE version 7
The user didn't even get the window to confirm deletion. So he was not able to delete the entry.
The OS on the user's machine is Windows XP.

Could someone tell me why the delete button is not working?

Reply With Quote
  #2  
Old February 9th, 2008, 02:37 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,066 markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level)markoc User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 6 Days 17 h 5 m 24 sec
Reputation Power: 127
ASP code not working

AOL Version 9.1 ... WHY???

now as for AOL i beleive that previously AOL had a "FEATURE" that when browsing it would change ur IP address after a given number of pages, hense users who where using VPN's had a nightmare.

I don't use AOL but there should be some config option's that you need to look at for the browsing options.

what i think ur going to have to do is first in ur javascript check the browser used by the user and then action different code depending on the browser.

can you post the code for the whole page so we can see and advise you accordingly.
__________________
Hope this advise helps.

If so please show your appreciation by adding reputation points (clcik gauge image on top right of this post).

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > ASP code not working


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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

Iron Speed




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