Alert, confirm and prompt javascript functions died with ios 7

Alert, confirm and prompt javascript functions died with ios7.  Will it be fixed? It breaks websites.

Hi..
JavaScript is no longer available to switch on or off in Settings > Safari.
So apparently that function has died with iOS 7.
message edited by:  cs

Similar Messages

  • Firefox and click javascript function on h:commandLink

    I was wondering if you can help me with a problem i'm having with a h:commandLink tag. What I am trying to do is give the user a choice of executing the action or not by using the confirm() and click() javascript functions:
    <h:commandLink id="runNowLink" styleClass="tableFooterText" value="#{ViewResources.RunNow}" action="#{Schedule.runNow}" onmouseup="if(confirm('#{ViewResources.RunNowConfirm}')) this.click()"/>
    This works in IE, a dialog box with "ok" and "cancel" appears and depending on which option the user selects, the link is "clicked" or not. However, this does not work in firefox as the browser just goes through with the action regardless of the option selected. Can someone please help?

    probably set the property of <h:commandLink type="submit" /> or <h:commandLink immediate="true" />

  • I updated my iPhone 5 yesterday and it replaced ios6.2 with iOS 6.1 has anyone had this problem?

    I updated my iPhone 5 yesterday and it replaced ios6.2 with iOS 6.1 has anyone had this problem?

    You are confusing your iOSs...
    Today iOS 6.1 was released... replacing iOS 6.0.2

  • Now the IPhone 5S and 5C have been launched with ios 7. So when will ios 7 be available for the update on IPhone 4???

    Now the IPhone 5S and 5C have been launched with ios 7 on 10th Sep.2013. So when will ios 7 be available for the update on IPhone 4???

    September 18th.

  • I don't understand why I can't download for free the apps designed by Apple, such as Pages and Numbers, which are free with iOS 7. Can anyone help me?

    I don't understand why I can't download for free the apps designed by Apple, such as Pages and Numbers, which are free with iOS 7. Can anyone help me?

    The apps are free with iOS 7 if you purchased a new device after September 2013. The apps do not come free just because you are running iOS 7 now. Did you purchase or receive a new iPad recently?
    If you did, are you using the same Apple ID to get the apps that you used to activate the iPad? If you are, sign out of your ID, restart your iPad, sign in again and go back to the App Syore and see if the apps show up as free.
    Settings>iTunes & App Store>tap your ID and sign out. Restart the iPad and go back to the settings and sign in again.

  • My sister has an iPad with iOS 6.1.3 and I have an iPod with iOS 6.1.3 why does she have Siri and I don't?

    My sister has an iPad with iOS 6.1.3 and I have an iPod with iOS 6.1.3 also why does she have Siri and I don't?

    Siri requires a 5th generation iPod Touch. Yours appears to be a 4th generation.

  • Data usage and battery drain has skyrocketed with iOS 8.1.2 (maybe earlier)

    3 weeks ago my wife got a text message on her iPhone 5 from AT&T that she had used 90% of her data for the month.  30 seconds later, she got another one saying that she had used 100%.  Granted, her data plan is small, 200 MB.  But, for the last two years she has used as little as 17 MB in a month and her largest prior to this latest month was 49 mb.  This month she got to 380 mb before we were able to shut off her cell data.  Otherwise, a second chunk of 200 MB and another $15 would have been added to the month.
    We had noticed that her battery had been draining rather rapidly in standby mode with no background apps running when she didn't have access to WiFi.  We have now correlated the two results, High Cell data usage, Quick battery drain and very warm phone.  In case anyone is wondering about her iPhone 5 being one in the recall, it is.  I took it in and had it tested.  Apple says the battery is fine.  It does hold a charge well.  When all network communications are shut down on her phone and it is in standby mode, there is no noticeable loss of charge in 24 hours (our longest test).
    Since I have a grandfathered Unlimited Data Plan with AT&T, I have been doing some testing on my iPhone 5s.  Sure enough, I've seen similar results.  With nearly everything turned off except Cell Data, I've seen 483 MB used in 24 hours.  Of that total, 479 MB was used for Documents & Sync.  I even have everything turned off in my iCloud account, Location services are turned off, no push notifications etc...
    The best I can figure, this has been a problem since we installed 8.1.2 and yesterday I installed 8.1.3 resulting in no positive effect on this issue.
    At this rate of data usage and no access to WiFi, my wife would have to have a 15 Gb data plan to keep from exceeding her limit.  I don't think AT&T even offers one that big anymore.  I might have to switch to Sprint or T-Mobile if this doesn't get resolved.
    Any ideas would be greatly appreciated.  Thanks in advance for your shared insights.

    Hey this is Brian, bjmcmurry, under a different user ID.  If I logged in as bmcmurry, original post, I was just getting a server error and couldn't get to this discussion nor post a comment anywhere.
    Anyway, let me be as brief as I can.  After an extensive analysis of replicating the problem on another phone to eliminate it being a hardware specific issue and that the test phone has an unlimited data plan, I was able to stop the excessive data usage and consequential battery drain.  I believe I have a reasonable explanation of the problem, an iOS logic bug.
    I had everything under my control clamped down on the test phone to minimize data usage.  Also, I was forcing all data usage to use the cell towers.  I determined that I was burning at least 11 to 13 Mb per hour doing nothing important.  I literally had everything turned off except 'Settings' was allowed to use Cell data providing a avenue to log into the Apple ID. 
    The two phones had 2 things in common, they were using the same Apple ID and the same version of the OS.  One was a iPhone 5 and the other was a 5s.
    Here is a synopsis of my experience via my written evaluation of the Apple support system (Apple Rep name's have been removed):
    After a couple of hours on the phone with an Apple Care Senior support Analyst, it was suggested that I go to the Apple Store to 1) get my battery replace in the iPhone 5 since it qualified for the replacement program and 2) see if the Genius could provide me with any insight in the data usage issue and battery drain.
    I'm certainly glad I had multiple reasons to visit the closest Apple store, a 45 min drive.  I got the battery replaced, thanks for that. 
    Regarding the important issue to me that brought me to the Genius Bar, excessive Cell data usage, I thought the Genius did a wonderful job listening and documenting the problem we were experiencing.  Unfortunately, educating us on the use of the product or replacing our phone was not going to solve the problem.  He eventually figured it out, this was not a user error or broken hardware.  We surmised that the reason I was sent to him was to verify and document that there was a problem.  I clearly had a problem.  After writing copious notes on the issue, The Genius smartly referred me back the the AppleCare Senior Advisor.  So, back to AppleCare Senior Analyst I went. She, knowing this was not a simple problem to solve i.e. beyond her level of expertise, got an Apple Software engineer involved.
    My primary frustration is that this should have been escalated to software engineering right away.  My trip to see the Genius was, I believe, a waste of time for both me and Apple regarding this issue.  Diagnosis of this type of problem is well beyond the Genius’ knowledge and job.  The Genius did a very good job doing what he could within the scope of his job.  He just couldn’t solve this problem and had no one within Apple to which he had access for help.
    However, that initial consult with the engineer was a bit feeble.  Not only could I not talk to him/her directly, his/her focus was still working with the ‘Black Box' approach.  Having Analyst ask me to do stuff like restore the Phone was more like trying to find a 'work around' than 'identifying the real problem.'  Maybe restoring the phone was going to fix some corrupted data on the phone sidesteping the real problem, the handling of this condition.  The engineer did listen to the fact that I had restored the test phone, the 5s, and only added the use of my Apple ID.  Duh, been there!!!
    Having been an previous owner of a software development company that I started in 1980 and retired in 2001, I can tell you that using the 'Black Box' method of debugging is extremely inefficient.  Instead, having access to an ‘Activity Manager’ type app to identify in real time what process was blowing up the data flow would have saved me a lost afternoon at the Apple store and hours on the phone with tech support.
    Ironically, I may have stumbled onto a "work around" solution short of turning off Cell Data that stopped the excessive Cell Data usage and consequential battery drain.  Just prior to leaving the Apple Store, I used one of their Macs to log in my Apple ID on the id.apple.com website to ‘Manage my Apple ID’, I was forced to upgrade the security level of my password.  Afterward, my cell data usage seemed to drop dramatically.
    I told the AppleCare Senior Analyst that I may have stumbled onto a workaround and I suggested that I give it a couple of days of monitoring.  We'd talk then and I would have results to report.  She agreed. 
    Sure enough, my Document & Sync usage was back to normal, about 1/2 Mb per day.  Am I happy that the excessive Cell Data usage has stopped?  You bet!  But, there was no intuitive reason that an end user would know to log in on the ID website to unknowingly solve this problem.  As I use to say to my employees, that is not the ‘Macintosh Way.’  And, rebooting the the 'Microsoft Way.'
    When I reported my findings to the Analyst, we both concluded that data usage was back to normal.  She did report to me that the engineer did provide a laundry list of suggested activities to help solve the problem.  Remarkably, they were everything that I had already done and were pretty much what the Analyst and the Genius tried to do.  All reasonable tasks.  But clearly, the engineer hadn't even ready the notes on the case before responding.  And, none of the things suggested would have uncovered the real problem, likely a logic bug in iOS.
    My advice now is to have the software engineering team rule out that there was an unresolvable state that a background process was fiercely trying to handle.  The iOS does not seem to know how to intervene and prompt the user with a requirement to upgrade their password.  If this does end up being the case, I would call it a logic bug, a perpetual exception that is not being handled properly.
    Anyway, I hope this helps you.

  • 4s lagging all over with Apple and Non Apple apps freezing with iOS 8 and 8.0.2 never did before, plus lock screen lag, multitask lag on iPad mini as well

    Well the next update fix all the lag and performance issues on the iPhone 4S and iPad mini?  It seems that multitasking ways down the phone's performance.
    iOS 8.0.2 keyboard freezes in landscape mode.  Our seamless experience has now ceased to exist so far with the update 8.0.2

    Well the next update fix all the lag and performance issues on the iPhone 4S and iPad mini?  It seems that multitasking ways down the phone's performance.
    iOS 8.0.2 keyboard freezes in landscape mode.  Our seamless experience has now ceased to exist so far with the update 8.0.2

  • I cannot synchronise IPod with contacts and calendars since I updated with iOS. 5.1.1.

    Depuis que j'ai fait une mise à jour avec iOS5.1.1 je ne peux plus synchroniser mes contacts et mon calendrier avec mon ordinateur.
    Est-ce quelqu'un connaîtrait le moyen de régler ce problème?

    Try the standard fixes to rule out a software problem:
    - Reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.
    If you still have the problem that points to a hardware problem. Yu can make an appointment at the the Genius Bar of an Apple store or try:
    fix for Home button

  • HT4847 Just used ICLOUD and backed up everything on my IPAD2 except ITUNES which is synced with my laptop, but cloud says backup was only 263mb and how do I update with iOS

    ICloud backup on my IPAD2 only says 263mb backed up, did it include all apps?
    <Title Edited By Host>

    None of your iTunes downloads are included in a backup, neither to the cloud nor on iTunes - an iCloud restore would redownload what it can from the store (e.g. apps that are still in your country's store, and if you haven't changed countries since buying them), an iTunes restore would pick them up your iTunes downloads from the relevant part of your iTunes library (Apps, Music etc). Only the apps content/settings are in the actual back up - you can see which apps that you are backing up to the cloud via Settings > iCloud > Storage & Backup > Manage Storage > device name
    If you haven't already done so then you should copy any iTunes downloads that aren't in your computer's iTunes library via File > Devices > Transfer Purchases, and take your own copy of any important documents/photos - as long as you've set their apps to backup to the cloud then they should be included in that, but it's best to have your own copy as well.
    You could also take a backup on iTunes (File > Devices > Back Up) - that should take up a similar size as the cloud backup does (as it doesn't include any of your iTunes downloads or the contents of the Music and Videos apps). After you are happy that the update has gone through ok then you can delete the backup (though ideally you'd take a regular iTunes backup as well) via the Devices tab in Edit > Preferences in iTunes.
    Emails are not included in a backup, only the email account's settings are. Also photos that were synced from a computer are not included, nether are the contents of the Music and Videos app.
    What is included in an iCloud backup : iCloud: iCloud storage and backup overview
    iTunes backups : iTunes: About iOS backups

  • Problem with onBlur=validate_int_range javascript function

    Hi i have a java script function which is use to check for the range of the integer i enter.
    The function works fine but the problem is once i click ok on the validation boxes that come up when i enter a wrong value it allows me to click the submit box.But if i click back on the text box then the validation box appears again.
    The report code is
    to_clob(HTMLDB_ITEM.text(5, pref_val,15,30,'onBlur="validate_int_range('||pref_name||','''||pref_expr||''');"style="width: 220px;"',pref_name)),
    and the javascript function is
    <script language="JavaScript1.1" type="text/javascript">
    function validate_int_range(pref_name, range) {
    var pos = range.indexOf('-');
    var start_val, end_val;
    var actual_val = pref_name.value;
    var non_digits = /\D/;
    if ( non_digits.test(actual_val) ) {
    alert('Validation Fail: only digits allowed. ' + range);
    if ( pos > 0 ) {
    start_val = range.substr(0,pos);
    end_val = range.substr(pos+1, range.length-pos+1);
    if ( eval(actual_val) < eval(start_val) ) {
    alert('Validation Fail: smaller value than ' + start_val );
    if ( eval(actual_val) > eval(end_val) ) {
    alert('Validation Fail: larger value than ' + end_val);
    function validate_rule(pref_name, exp) {       
    var actual_val = pref_name.value;
    expression = new RegExp(exp);
    if ( ! expression.test(actual_val) ) {
    alert('Validation Fail: Rule ' + exp);
    </script>

    >thanks you so much for the code, I'll test it out and
    reply with >the
    >results.
    Shouldn't that be "Thanks so much for the Cod"?
    "Dave Bar" <[email protected]> wrote in message
    news:e28c7t$hk1$[email protected]..
    > ahh yes, you are right..
    > I should have said OR instead of AND.
    > If Field is blank OR range is not between 1900 &
    2006. Thanks for catching
    > and pointing that out.
    >
    > thanks you so much for the code, I'll test it out and
    reply with the
    > results.
    > Thanks
    > -Dave
    >
    >
    >
    >
    > "Lionstone" <[email protected]> wrote
    in message
    > news:e28b1a$fu5$[email protected]..
    >> That's probably because you asked for a fish to help
    you out
    >>
    >>> Can some kind sole help with a modified version
    to also check for an
    >>> entered
    >>> number range?
    >>
    >> and fish can't type.
    >>
    >> You're off on the logic though, since something is
    not likely to be both
    >> blank and outside a certain number range. If it's
    blank or outside the
    >> range, either condition is sufficient for an error,
    right?
    >> You also want to make sure that no letters, etc, are
    entered, because
    >> that will mess up your comparisons to the other
    numbers. Keeping in mind
    >> that javascript validation can be defeated by
    sneezing and you'll need to
    >> re-validate on the server, this will be closer to
    right (not tested).
    >>
    >> var ThisYear = ThisForm_Right.DOB_Year.value;
    >> ThisYear = ThisYear.replace(/[^/d]/g,"");
    >> if(ThisYear.length == 0)
    >> {
    >> alert("Please enter the year of your DOB.");
    >> ThisForm_Right.DOB_Year.focus();
    >> return false;
    >> }
    >> else
    >> {
    >> ThisYear = parseInt(ThisYear);
    >> if((ThisYear < 1900) || (ThisYear > 2006))
    >> {
    >> alert ("The year of your DOB must be between 1900
    and 2006.");
    >> ThisForm_Right.DOB_Year.focus();
    >> return false;
    >> }
    >> }
    >>
    >>
    >
    >

  • Javascript-function doesn't work with user nobody

    I recently started to use AJAX with APEX. I defined a Application Process and a Javascript-Function which fetch values from a Lookup-Table into some fields, which works great. Except when I make the page available public (user nobody), then it doesn't work anymore.

    Hello,
    Do you have page 0 (zero) in your application? If you are using page 0 as a parameter in your htmldb_Get function, the page must be public (http://htmldb.oracle.com/pls/otn/f?p=11933:63).
    Regards,
    Arie.

  • JavaScript Function Calls it is called twice only when add the component

    Hi,
    I am developing a SAP Design Studio Extension and I noticed that when I add the component on Application, SAP Design Studio calls the JavaScript SDK Functions twice only when I drag and drop the component.
    I found out about this just put an alert message in which JavaScript Function (init, beforeUpdate and afterUpdate).
    Is it ok to work this way?
    I am really curious if anyone else has come across this issue.
    Thank you,
    Fabio Almeida

    Hi Fabio,
    Yes, there does appear to be an issue with SDK component functions being called twice.  Mike Howles has implemented a workaround in this Toolbar example code. Refer to the code in the this.init function at the end.
    Regards,
    Mustafa.

  • Problem when calling more than 1 Javascript function

    Hello everybody,
    I am trying to disable fields based on the value in a Select List. There is a table in which values are stored to tell if a field should be disabled for the selected value. I have created an Application Process and a JavaScript function for each field.
    The problem is that only the first function is executed, and the second not.
    I have tried the following:
    onchange="Disable_Dagen(this);Disable_Kg(pThis);"and I have put them together in a parent JavaScript function
    function Disable_Fields(pThis){
    Disable_Kg(pThis);
    Disable_Dagen(pThis);
    }In either case only the first works, so when I change the order then the other one is executed properly.
    Can anyone give me a clue on how to solve this?
    My complete JavaScript definition in the header is as follows:
    (the code in html_DisableOnValue is taken from the example site from Carl Beckstrom)
    <script language="JavaScript" type="text/javascript">
    <!--
    function html_DisableOnValue(pThis,pValue,pThat){
         var lTest;
      if(pThis.nodeName == 'SELECT'){
                   lTest = html_SelectValue(pThis) == pValue;
         }else{
                   lTest = $x(pThis).value == pValue;
         if(pThat){
               for (var i=2;i <= arguments.length; i++){
                          html_disableItem(arguments,lTest)
         return;
    function Disable_Dagen(pThis){
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=AP_RETURN_DISABLE_VAL_DGN',0);
    get.add('AI_AFW_CODE',pThis.value);
    gReturn = get.get();
    get = null;
    //alert('Return waarde is '+ gReturn );
    html_DisableOnValue(pThis,gReturn,'P43_AANTAL_DAGEN');
    function Disable_Kg(pThis){
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=AP_RETURN_DISABLE_VAL_KG',0);
    get.add('AI_AFW_CODE',pThis.value);
    gReturn = get.get();
    get = null;
    //alert('Return waarde is '+ gReturn );
    html_DisableOnValue(pThis,gReturn,'P43_AANTAL_KG');
    function Disable_Fields(pThis){
    Disable_Kg(pThis);
    Disable_Dagen(pThis);
    //-->
    </script>
    In this case the Form Element property is set toonchange="Disable_Fields(this)"
    Thanks, Wouter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Roel,
    Thanks again for your response.
    There is a lot more to Firebug then I had seen before. Now I have turned on the Console and the Script. Initially I saw the following in the Console:
    C is undefined
    $x_disableItem(undefined, true)apex_3_1.js (regel 1)
    html_DisableOnValue(select#P43_AFWIJKING_CODE, "101", "P43_AANTAL_DAGEN")f?p=104:...2606::::: (regel 38)
    Disable_Dagen(select#P43_AFWIJKING_CODE)f?p=104:...2606::::: (regel 51)
    onchange(change )f?p=104:...FPQ%3D%3D (regel 2)
    [Break on this error] var gDebug=true;var gkeyPressTime;var gL...Options;html_SelectValue=$f_SelectValue;When I removed the comments before the 2 Alerts, I only got one alert when I tested it.
    Then I replaced the function call to html_DisableOnValue to $f_DisableOnValue as you suggested, and that did the trick. Now it Works!
    I still don't know why the html_DisableOnValue function doesn't work. I just copied it from the demo site of Carl Beckstrom. Anyway my problem is solved.
    Have a nice weekend, Wouter

  • Getting rid of the row_mouse_over and row_mouse_out javascript?

    Seems the row_mouse_over and row_mouse_out Javascript functions get added automatically to report regions, to support formatting of background color, hovering, etc.
    However, this just bloats up the page size (in addition to the size of the functions themselves, calls to these functions get repeated for every table row).
    Is there any way to get rid of them?
    (I believe I read somewhere that they were hard-wired into the standard templates, and that you have to create a new report template, which must be with specific columns (as opposed to generic columns). If true, this is something of a bummer, as I'd have to create a different template for every report region.... :-(

    Hello,
    >> Seems the row_mouse_over and row_mouse_out Javascript functions get added automatically to report regions, to support formatting of background color, hovering, etc.
    I believe this is done using the #HIGHLIGHT_ROW# substitution string, in the “Before Each Row” section of your report template. You can try and remove it. In version 3.1 you can define your own #REPORT_ATTRIBUTES# substitution string, using the “Report Attributes Substitution” field, in the report “Layout and Pagination” section.
    I didn’t tried it myself, so please report back if you will be successful.
    Regards,
    Arie.

Maybe you are looking for

  • I need to use my time capsule as an external HD

    I bought a time capsule recently and not knowing what i was doing, I copied my music and movies library over to it into the "data" folder. I think I screwed up because every time I try to play it in itunes the destination changes, and I can't bring t

  • Itunes installs but won't open. HELP!

    Hey So I was really pumped about the new itunes version, so I installed the new one and double clicked on the new icon to open it up. Nothing happens. I've since uninstalled everything (itunes and quicktime), gotten rid of the old itunes folder, and

  • Unable to Invoke a BPEL webservice from a java client

    Hi , We have developed (using Jdeveloper 10.1.3.1.0) a BPEL Process which invoke a PL/SQL procedure. This BPEL process is deployed on the Oracle SOA Suite server 10.1.3.1.0. Out third pary vendor is trying to invoke this BPEL webservice from there ne

  • How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?

    Hi , anybody know  How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ? I want to create lab but i couldn't  I follow this article but the new VM is off http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install

  • Jtable and ctrl_down_mask

    hi, hope someone will give me some pointers to the following problem that i have. i have a jtable that has 2 editable string columns. i have a <keypress event> that handles <ctrl_down> and <space> keys when pressed simultaneously. What i found was th