How to Stop confirmation popup arising for datepicker control in IE

Hello All,
I m using a confirmation popup to notify user when they try to navigate away from the page with out saving the changes made. I executed it through the javascript and it even works properly for most of the items and buttons except Datepicker control. This issue is only with Internet Explorer and all others are fine.
I use the following block of code to do the job
+function isFormChanged()
{+
var rtnVal = false;
var frm = document.wwv_flow;
var ele = frm.elements;
for ( i=0; i < ele.length; i+ )
{+  
+if ( isElementChanged( ele, i ) )
{+
rtnVal = true;
break;
+}+
+}+
return rtnVal;
+}+
+function isElementChanged( ele, i )
{+
var isEleChanged = false;
+switch ( ele.type ) {+
case "text" :
+if ( ele[i].value != ele[i].defaultValue ) return true;+
+if( ele[i].id.indexOf('Date')!=-1) return false;+
break;
case "textarea" :
+if ( ele[i].value != ele[i].defaultValue ) return true;+
break;
case "radio" :
val = "";
+if ( ele[i].checked != ele[i].defaultChecked ) return true;+
break;
case "select-one" :
+if      (ele[i].id>99 ) return false;+
+for ( var x =0 ; x <ele[i].length; x++ )
{+
+if ( ele[i].options[ x ].selected+
+!= ele[i].options[ x ].defaultSelected ) return true;+
+}+
break;
case "select-multiple" :
+if      (ele[i].id>99 ) return false;+
+for ( var x =0 ; x <ele[i].length; x++ )
{+
+if ( ele[i].options[ x ].selected !=+
+ele[i].options[ x ].defaultSelected ) return true;+
+}+
break;
case "checkbox" :
+if ( ele[i].checked != ele[i].defaultChecked ) return true;+
default:
return false;
break;
+}+
+}+
var g_saving = false;
var IsThe2ndNavAway = false;
var g_errmsg="The changes you made to the page were not saved.";
+function WarnSave()
{+
var formChanged = isFormChanged();
if (!g_saving && formChanged)
+{+
if(!IsThe2ndNavAway)
+{+
IsThe2ndNavAway=true;
+var tOut = window.setTimeout(function () { IsThe2ndNavAway = false; }, 0);+
return g_errmsg;
+}+
+}+
+}+
function doSave()
+{+
g_saving=true;
doSubmit('SAVE');
+}+
the above lines on page Html header and the Html body attribute with onBeforeUnload="return WarnSave();"
Can any one say why the confirmation popup is pushed of in IE for DatePicker Calendar alone and provide the work around if any..

Are you still having this problem?  See this post how one AOL user solved it: http://forums.adobe.com/message/3024814#3024814

Similar Messages

  • How to close a popup window for system events?

    Hi,
    I have a screen 110 which shows several input field in popup mode.
    The Cancel button can close the screen.
    But my question is how to close the popup window for the following system events?
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close" or "Stop Session"
    The PAI subroutine of the screen has not been triggered for the above system events.
    Thanks for the coming help.
    Best Regards,
    David

    Hi Siddharth,
    I did check with another very experienced ABAP developer.
    The solution was the same as what Arunima Rudra provided.
    And I got a sample program which did work properly.
    The headache is that the system events in my program still cannot be triggered even after I have all the same changes.
    Anyway, I suggest you to try the solution as provided by Arunima Rudra.
    It should work for 2 system events:
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close"
    For "Stop Session", it should not be handled by popup.
    You can observe the same behavior in ALV sorting configuration popup.
    Good luck!
    Regards,
    David

  • How to stop Firefox from checking for add-on compatibility every time it opens?

    How to stop Firefox from checking for add-on compatibility every time it opens?

    That can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the compatibility.ini file in the Firefox profile folder to see if that helps.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • How to check RBS maintainer is running or not and how to stop the RBS maintainer for a specific content db.

    HI
    how to check RBS maintainer is running after deleting orphan blobs and  while deleting the blobs from rbs storage,
    and also how to stop the RBS maintainer for a specific content db.
    when I run below query  I found the orphancleanup value true
    SELECT [config_key],[config_value] FROM [mssqlrbs_resources].[rbs_internal_config]
    where config_key='orphan_cleanup_in_progress'
    adil

    HI
    the  RBS maintainer was run from one of web front end server  And for one content database , that fine
    but I  now know this information only this did by other administrators.
    Now I did not found this Maintainer running in windows task scheduler, but blobs are decreasing from content database RBS storage folder, and  also I found this maintainer running I checked from  when  run sql queriy in  sql
    server
    SELECT
    [config_key],[config_value]
    FROM
    [mssqlrbs_resources].[rbs_internal_config]
    where
    config_key='orphan_cleanup_in_progress’
    it  given me true
    here now  I want to stop this orphan cleane up , what settings and script I will run?
    adil

  • How to stop my iphone 5 for flipping my photo when i use the front camera.

    How to stop my iphone 5 for flipping my photo when i use the front camera.

    You don't. Look in the mirror...now raise a hand...get the picture?
    Same thing applies with your phone.

  • How can I confirm my Registration for iPod Touch ?

    How can I confirm my registration for iPod Touch ?

    What do you mean by confirm?
    Mayed gong here may do it:
    My Support Profile*
    Or entering your SN here:
    Apple - Support - Check Your Service and Support Coverage

  • How to have confirmed quantity 0 for credit blocked sales orders

    Hi!
    I have the following problem. I have one sales order blocked because credit. Using material A the quantity confirmed is 0 but using other material B the quantity is confirmed. All the materials have no avaliability check group no arelevant for vailability .
    How can I customize in order to always have quantity confirmed in 0 for sales orders bloked because credit check?
    Thanks in advance for your help!
    Regards,
    Marina.

    I resolved the issue

  • How to stop the changes made for the BP in CRM not to update in R/3

    Hello Gurus''
    we are in need of help......i have an issue...the issue is
    Wht ever the changes we do in crm , need to be not updated in r/3 ....for example if we change the the language for the BP 100 in CRM, it should not update in R/3
    Where as in our case the data is updateing in R/3
    Here by requesting you all to help me out how to stop the updaation of some changes  which are made in CRM , that should not be in R/3
    Point will be given......
    Regards
    sreeram Raghu

    Hello
    Thanks for ur reply.........
    We have the following business process
    We create BP with role prospect in CRM, once the prospect is ready to buy the product we conver the prospet in to customer and thesame  customer is replicated in R/3 fro sales.
    What i am looking at is for the customer we created in CRM if we change any data that should be updated in r/3..it may be nay like name address ...language....etc.....
    can u help me out...as u told me to unassig/delete the subcription:All Business partner(MESG) under that we have --
    >publication>All BP(MESG)->Replication object-->Bupa_Main
    >Sites-->SQ1_300
    If we do this process does the issue will fix or else we need to do soem thing more...
    Thanks in advance
    Regards
    Sreeram Raghu
    +91-99 94 94 82 72

  • 802.1x on Cisco 3750 switch: How to stop retrying the authentication for the un-authorized guests

    Hi experts,
    I'm trying to stop the authentication retry for the guests. They won't have the credential to be authorzied and will be put in the guest VLAN. However the switch seems by default always retries the authentication every 15 seconds or so. It's fine if the guests are few but I'm implementing it at a hotel where most users are guests (like 1000 of them at the same time...).
    I really need to turn it off or at least find some timer to decrease the frenquency... It's urgent because the hotel is about to open... The following is the config I put on an interface:
    switchport access vlan 1055
    switchport mode access
    switchport nonegotiate
    switchport voice vlan 657
    ip access-group ACL_PortIso_IDF21 in
    authentication event fail action authorize vlan 1055
    authentication event no-response action authorize vlan 1055
    authentication host-mode multi-domain
    authentication port-control auto
    authentication violation protect
    mab
    no snmp trap link-status
    dot1x pae authenticator
    dot1x timeout quiet-period 300
    dot1x timeout tx-period 2
    dot1x timeout supp-timeout 2
    dot1x max-reauth-req 10
    dot1x timeout held-period 300
    no cdp enable
    spanning-tree portfast
    spanning-tree bpduguard enable
    no ip igmp snooping tcn flood
    Thanks!

    Elly,
    Soon I will have a Windows laptop plugged in. Then I will be able to run the wireshark. Now I have to run the "debug dot1x packets" since the attached device is a phone.
    So first I "clear dot1x session int f3/0/13". After a couple of "failure" eventually it will show this:
    "%AUTHMGR-5-SUCCESS: Authorization succeeded for client (Unknown MAC) on Interface Fa3/0/13"
    (Weird... why it's showing "success"? Anyway when the authentication restarts again after several minutes there won't be any "sucess" any more, as shown in my previous text file. They are)
    Then I have the debug turnned on:
    .Jan 25 12:47:21: %AUTHMGR-5-START: Starting 'dot1x' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    INDJWSW01-2104#
    .Jan 25 12:47:21: EAPOL pak dump Tx
    .Jan 25 12:47:21: EAPOL Version: 0x3  type: 0x0  length: 0x0005
    .Jan 25 12:47:21: EAP code: 0x1  id: 0x1  length: 0x0005 type: 0x1
    .Jan 25 12:47:21: dot1x-packet(Fa3/0/13): EAPOL packet sent to client 0x5600009F (0019.f302.a378)
    INDJWSW01-2104#
    .Jan 25 12:47:23: EAPOL pak dump Tx
    .Jan 25 12:47:23: EAPOL Version: 0x3  type: 0x0  length: 0x0005
    .Jan 25 12:47:23: EAP code: 0x1  id: 0x1  length: 0x0005 type: 0x1
    .Jan 25 12:47:23: dot1x-packet(Fa3/0/13): EAPOL packet sent to client 0x5600009F (0019.f302.a378)
    INDJWSW01-2104#
    .Jan 25 12:47:25: EAPOL pak dump Tx
    .Jan 25 12:47:25: EAPOL Version: 0x3  type: 0x0  length: 0x0005
    .Jan 25 12:47:25: EAP code: 0x1  id: 0x1  length: 0x0005 type: 0x1
    .Jan 25 12:47:25: dot1x-packet(Fa3/0/13): EAPOL packet sent to client 0x5600009F (0019.f302.a378)
    INDJWSW01-2104#
    .Jan 25 12:47:27: %DOT1X-5-FAIL: Authentication failed for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:27: %AUTHMGR-7-RESULT: Authentication result 'no-response' from 'dot1x' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:27: %AUTHMGR-7-FAILOVER: Failing over from 'dot1x' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    INDJWSW01-2104#
    .Jan 25 12:47:27: %AUTHMGR-5-START: Starting 'mab' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:28: %MAB-5-FAIL: Authentication failed for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:28: %AUTHMGR-7-RESULT: Authentication result 'fail' from 'mab' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:28: %AUTHMGR-7-FAILOVER: Failing over from 'mab' for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    .Jan 25 12:47:28: %AUTHMGR-7-NOMOREMETHODS: Exhausted all authentication methods for client (0019.f302.a378) on Interface Fa3/0/13 AuditSessionID 0A8F7325000010629B960A41
    Then the message will repeat and repeat forever... It seems that the switch Tx the packets first... Any ideas???
    Thanks!

  • How to stop pwsswd  change option for Admin user id or SLD or monitor ID

    Hello frineds,
    As I know we do have one option to disable password change prompt using J2EE Admin tool ( Go to security provider->Usermanagement and search for the user
    Select the user and check "No password change required") but this option checked for all user users by default and it prompting password change after 90 days (default).
    Is there any other way to stop change password prompt for admin user ID's?
    Any help is a great help
    Thanks and regards,
    Venkat

    Hi,
    I think we  need to change the parameter value in the document type definition.
    Check this: http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG6.0.0/intframe/intframe0210.html
    Please check with your BASIS team regarding this.
    Thanks,

  • Validations for DatePicker control in SAP UI5

    Hi,
    I am using DatePicker control from sap.ui.commons library. I want to add validations to this date. What can be the best possible way to have validations apart from implementing change method ?
    Is it possible for the framework to popup the error message in the red color as we get to see in some standard form?
    Any help will be appreciated.
    Thanks,
    Supriya Kale

    That's the beauty of the formatter and the use of a model:
    var oDP = new sap.ui.commons.DatePicker({
        valueState :{
            parts     : ["/myDate", "/notBeforeDate"], //bound to both 'myDate' and 'notBeforeDate' property in your model
            formatter : function(oDateValue, oNotBeforeDateValue) {
                return (oDateValue < oNotBeforeDateValue) ? sap.ui.core.ValueState.Error : sap.ui.core.ValueState.None;
    See Custom Formatter Functions - User Interface Add-On for SAP NetWeaver - SAP Library for more info

  • How to Stop "Password Incorrect" Prompt for Exchange

    OK, first off, please don't say "enter the correct password". I am, but my company's Exchange server is having some issues and it's not accepting requests from the iPhone (or other ActiveSync devices).
    As such, I'm getting the popup/prompt that says "Password Incorrect". When my company fixes their end, I'm sure it'll be fine, but for now, how do I get it to stop popping up? Doesn't matter if I hit "Cancel" or "OK", it just comes back 10 seconds later. I've turned off PUSH and FETCH, so I don't know why it's still making requests to the server.
    This is getting really annoying. I can't type a SMS message, surf the web, or listen to my music without it getting in my way every 10 seconds. I've tried rebooting the phone, but that did nothing.
    Any help is appreciated. Thanks in advance

    Well I never setup an Exchange account, but with other accounts, when you go into Settings, then Mail, Calendar etc Settings. I can go into any of my mail accounts setup and there is a flip switch to just turn off. It leaves all the settings to be there later when you turn that account back on, but turning it off fully removes it from the Mail app.

  • How can I allow popups only for specific sites in Safari 7.1?

    I have popups blocked by default, but need to allow them for specific sites at work.  How can I do this without allowing them for all sites?

    Hi ..
    It's all or nothing with Block pop-up windows selected in Safari > Preferences > Security.

  • How to stop the ATV asking for Apple ID Password

    I just upgraded to 6. Now everytime the ATV boots up (I turn it off at night) it asks for my AppleID password. This never happened under 5.x. I do not rent or buy iTunes stuff from my ATV. I do not want to enter my password because I never had to under 5.x, how can I stop it asking for my password?

    In case anyone else gets this I hit cancel once and it has never come back.

  • How to stop securuty/indexing breach for privacy?

    How do you stop Leopard from indexing and cataloguing all your activities / opened docs /viewed pics etc.? You can hide the tabs or viewing option but if it is turned on again all the data and activity is still there. It seems this is a major security/privacy breach and a step backwards.Time machine is not turned on. The icons are called today, yesterday and past week and are found under "search for" on the bottom left of every opened folder.Is there a way to turn off the recordings or to delete them.Creating another user account is not a solution I'm looking for.
    Cheers

    Georgy
    Keep in mind that the index is stored on the drive that is being indexed. As such, indexing an external volume does not affect your main drive.
    Remember also, that when you do update your external drive, the indexing only updates the changes made to the drive on the fly, provided of course if it is mounted and allowed to do so.
    My suggestion, let Spotlight index the drive. Particularly if you are using it as a backup. Once in place, updating the index and searching is extremely fast.
    Be careful however, of using third-party solutions. Some will affect Spotlight's normal indexing process and their preferences have to be changed for Spotlight to work.

Maybe you are looking for