Javascript function fails in version 3.6.3, but worked in all previous versions

function show_prompt(){
var cost = prompt("Please enter cost amount","");
if (cost!=null && cost!="")
document.getElementById("ncost").value = cost;
document.getElementById("nno").value=1;
else
show_prompt();
This function has caused no problems until i upgraded to firefox 3.6.3. The function fails to set the value of the html element until the function is called again, at which point the value from the first function call is successfully inserted.
This is obviously not workable, so i have had to backgrade to 3.5.9 so that the problem doesnt happen, but this is obviously not a long term solution.
== This happened ==
Every time Firefox opened
== I upgraded to version 3.6.3

Could you link to an example that shows this code in use? From your description, I can't be sure what's happening. (My best guess is that it's prompting you twice for the cost instead of just once)

Similar Messages

  • Secure connection failed in version 37.0.1 but works in all other browsers and firefox 36

    https://mail.twcbc.com/ will not load. The is Time Warner's business class web email.
    The specific message is:
    Secure Connection Failed
    The connection to mail.twcbc.com was interrupted while the page was loading.
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.
    This page loads in IE 11 with all recent patches, and in Chrome. Also it will load in Firefox 35 and 36. This issue is specific to 37.0.1

    ''cor-el [[#answer-715299|said]]''
    <blockquote>
    You need the full domain: <b>mail<i></i>.twcbc<i></i>.com</b>
    </blockquote>
    Thank you, that fixes it.

  • Streaming swf fails in version 10 worked in all previous versions

    Hi
    We store all our files in a database and use code to suck it out of the DB and send it to the webclient, usually of the form
    previewfile.swf?id=12345
    or navigate2.php?id=12345
    We are having the problem in both a .NET application running under IIS and a PHP application running under apache, so its not due to the platform and the code has been working fine for the last 5 years and is still working for everything else!
    These have been all working fine until we upgraded our players to flash 10.
    If we copy the downloaded and save it the hard drive and request it from an actual url
    i.e. https://wigle.com/fred.swf the same file works fine.
    Looking at the logfiles, all the requests are being successfully made and sent out, so any ideas whats going on?
    Does the latest version not support streaming of swf files?

    Could you link to an example that shows this code in use? From your description, I can't be sure what's happening. (My best guess is that it's prompting you twice for the cost instead of just once)

  • Javascript calls (StopPlay/Rewind/GotoFrame/...) not working on all flash files

    Hello everybody,
    I am using the flash player plugin (9.0 r115) in Safari
    (3.0.4).
    On some flash files, the StopPlay/Rewind/GotoFrame/Back
    functions are not working. On some other they are working well.
    How can I detect (in advance) .swf files where these command
    will not work ?
    Is it particular with actionscript ?

    > Do you mean the AC_RunActiveContent.js file? yes it has
    been uploaded and
    > is in the same folder with the other four flash docs.
    The page code is looking for the .js file in the Scripts
    folder:
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    When I point my browser at:
    http://www.jackson.army.mil/PAO/Scripts/AC_RunActiveContent.js
    I get 404 - File not found.
    The browser cannot run the Flash movie if it cannot find the
    .js file inside
    the Scripts folder.
    Where on the server did you upload the AC_RunActiveContent.js
    file?
    Regards
    John Waller

  • How to use  Javascript for anchors as I cant get it to work at all?

    I am currently trying to build my own web site using iweb 08. I am a total newby so this question is for anyone who knows about javascript, particularly Cyclosaurus. I have tried in vain to use Cyclosaurus's javascript for anchors in my FAQ's page via html snippet. I must be doing something wrong, so can you help?
    1). I copied and pasted the javascript anchors code into a html snippet
    2). I changed the, anchors.push(3146) to no's 1, 2 and so on for each question
    3). I then changed 'change this to your page' to faq's
    4). I don't understand anything else from this point so please can you help to rectify my total incompetence and explain it in detail.
    This is what i have tried to do.... anchors.push(1);//faq's. followed by my question? y position
    Is this correct or have I gone totally wrong
    Please help
    Many Thanks

    I have finally published my site and yes Cyclosaurus anchors javascript worked great. It won't work when you are working on your site pages, not until you publish your site.
    Follow Cyclosaurus instructions above, it was after where I got stuck. So this is for the many people who need very clear instructions from start to finish. Otherwise you can spend countless hours scrolling through these forums. Here is what you have to do next:
    Each question must be numbered. So your first question would be numbered "1" and so on. Highlight your question at the top of your page. Open inspector and go into hyperlink
    Tick enable hyperlink box and select link to an external page. Delete everything but http:// and type in #1
    Repeat this for each question - next question would be #2 and so on
    Remember to hyper link all your "back to top" or "Top" as #0
    That's it, your good to go to go
    Thanks again to everyone

  • LSMW Fails when run in B/G but works fine in Front end..why?

    Hi All,
    i am trying to run a batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on (i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying  SAP note 928273 Solved this issue.

  • LSMW fails when run in B/G but works in Frontend..why?

    Hi All,
    i am trying to runa batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on 9i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying SAP note 928273 Solved this issue.
    thank you.

  • Ios4 update failed on 3gs and now phone dont work at all

    so i updated as per apple instructions and update failed no code given and my iphone 3gs is now dead as in blank wiped clean but a black screen with white apple cant even pwer off and not recognized as connected to computer to restore or try updating again. this is my only phone so apple cant call me back for support
    anyone else had this happen and fixed it?

    Ok this is wat happened to my iPhone 3GS after I opted to upgrade to iOS4.0:
    After the upgrade file finished downloading, the installation process got initiated. However, after a few minutes, the process crashed throwing up an Error 1602. My phone just displayed the connect to itunes logo. I did a hard reset (by pushing the home button & the power on/off button simultaneously) and the phone entered the recovery mode (or DFU or watever it is called). I reopened itunes and connected the iphone again. This time, I was told that the phone has been detected on recovery mode. I clicked RESTORE & it told me that the phone would be restored to factory settings,which I chose. The recovery process started and after a coupla minutes, I got another error. This time it was Error 1601.
    After spending a good 2 hrs researching the internet, I found the solution that did work for me. Here goes...U would need another computer for this (not the one u have been using to sync ur iphone with):
    1) Install itunes 9.2 on another computer.
    2) Connect ur iphone (while it displays the connect to itunes logo).
    3) itunes will detect an iphone on recovery mode.
    4) Click Restore. itunes will tell u that ur phone can be restored to factory settings. Choose OK.
    5) itunes will automatically download iOS 4.0
    6) once the download is complete, installation of iOS 4 should start immediately. if for some weird reason it doesnt initiate, press shift+restore and select the installation file (it is located in C:\Documenst & Settings\User\Application Data\Apple Computer\itunes\iphone software updates\xxxxx.ipsw )
    7) Once u've selected this file, installation will start & ull get a progress bar on ur iphone as well.
    8) The installation should come around fine & after a coupla automatic reboots, ur iPhone should now be up & running with iOS 4.0
    9) Itunes will ask you to name ur iphone. at this point, eject the iphone from the computer & connect it to the other computer (the one which u previously used to sync the iphone with). open itunes & ull get 2 options: Create a new iphone or restore backup from "Sandy's iPhone" ur iphone's name. Choose the 2nd option & watch ur iphone being restored with all ur backup.\
    10) once the sync is complete, eject & enjoy iOS 4
    Phew
    Cheers!!!

  • Uninstall deployment for an AppV5 application with Connection group fails if using a User Collection but works on Machine Collections.

    Hi,
    I'm having troubles to understand why my application in AppV5 that was sequenced with "MS. AppV Sequencer SP1" is somehow failing to be uninstalled properly only if this on is deployed with a
    User collection but on the other hand the same application installs & uninstalls perfectly if its deployed using a
    Machine collection? 
    Here is an extract of the Appenforce.log:
    Remove-AppvClientPackage : Operation failed because package belongs to a
    connection group on the machine. Please ensure that package does not belong to
    any connection groups.
    Operation attempted: Remove AppV Package.
    AppV Error Code: 020000050C.
    Please consult AppV Client Event Log for more details.
    Au caractŠre Ligne:1 : 106
    + import-module 'C:\Program Files\Microsoft Application
    Virtualization\Client\Appv ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidResult : (:) [Remove-AppvClientPackage], 
       ClientException
        + FullyQualifiedErrorId : RemovePackageError,Microsoft.AppV.AppvClientPowe
       rShell.RemoveAppvPackage
    I know that SCCM 2012 does not uninstalls application prerequisites unless they are targeted by their individual uninstall collection or script an uninstall procedure on the main application. But if I try using the Machine collection the error is not appearing
    and the main application is removed and the Prereq will be left behind without causing any trouble at all !! 
    So my question is: Why an APPV5 application with a connection group should be pushed in a Machine context ?
    Notice that I already tried to do the troubleshooting to remove the application manually with PowerShell.
    - set-executionpolicy unrestricted
    - Import-Module AppvClient
    - Get-AppvClientPackage -Name PackageName*
    - Unpublish-AppvClientPackage $PackageName
    - Remove-AppvClientPackage $PackageName
    And actually it was removed but the problem started again if I tried to re-install /remove the application.
    Will really appreciate your comments.
    Kind Regards.
    Joel E.G.

    Hi Paul,
    To be honest we already experienced many troubles after the SCCM console was migrated from R1 to R2, SCCM client was updated too in consequence, but our AppV5 client still remains on SP1.
    I'm afraid that any application that uses Connections Groups will have to be pushed on a Machine context and I just wanted to really understand more about this subject of why it was working that way and not by User is there something I missed with (Run Virtual)
    that for any reason is not perfectly implemented to run on a user context?
    Any way, we will be testing AppV5 Client SP2 really soon because we have no choice.
    Regards,
    Joel EG

  • IBFBS failed to deploy in Embedde OC4J but works with EAR deploy.

    Hi
    When i try to deploy IBFBS sample project in JDevloper by Embedde OC4J : its giving
    an error saying "there is no EJB module to deploy".
    But when i deployed through EAR deployment method its working fine.
    PLease kindly help me.
    Sai.

    Hi,
    Can you pls post the Version of JDeveloper and OC4J that you are using?
    I tried to deploy IBFBS using JDeveloper 9.0.3.988 (JDK 1.3.1) on Standalone OC4J server (9.0.3) and it works fine.
    One constraint for not running the application from JDeveloper (by using embedded OC4J) is that, the OC4J where the FBS is deployed needs to have the -userThreads option enabled.
    This option is enabled by starting OC4J with -userThreads option.
    java -jar oc4j.jar -userThreadsRef : Connection to embedded OC4J per FBS Setup Tutorial-Problem.
    Let us know if your problem still persists.
    Thanks
    -- OTN@IDC Team

  • Npapi plugin not works anymore with FF4, but works well with previous versions

    I have a NPAPI plugi what is works well with FF versions < 4 , but not works with FF 4. Why?

    See https://developer.mozilla.org/en/Plugins
    You can discuss issues with Minefield 4.0 nightly builds and Firefox 4.0 beta builds at the mozillaZine Firefox Builds forum.<br />
    That forum is better suited to discuss such issues.<br />
    You need to register on the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • Mouse fails only in Firefox 3.6.3, works in all other programs, if i click outside of firefox and go back into firefox it works for one click only.

    Firefox 3.6.3 mouse issues, only in Firefox.
    == This happened ==
    Every time Firefox opened
    == two weeks ago

    I've followed the steps for Safe Mode and no success. I disabled all add-ons and still no change. The odd thing is, this started a few days after I downloaded the new version. It is quite aggravating!

  • Javascript function is not working for jsp:include.. form elements

    HI,
    I have two jsp's and i will include one jsp in the another jsp, when i do this
    i am not able to access child form elements value using javascript. the javascript
    function is defined in the main jsp. but i could able to get the main form elements
    through javascript
    here is the code.
    main.jsp
    <!--Generated by WebLogic Workshop-->
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <netui:html>
    <head>
    <title>
    Web Application Page
    </title>
    <script language="JavaScript">
    function isValidAge() {
    alert ("hage " +document[getNetuiTagName("MyForm")][getNetuiTagName("age")].value)
    alert ("swage " +document[getNetuiTagName("MyForm")][getNetuiTagName("swage")].value)
    alert ("wage "+document[getNetuiTagName("MyForm")][getNetuiTagName("wage")].value)
    </script>
    </head>
    <body>
    <p>
    <netui:form action="myaction" tagId="MyForm">
    <netui:textBox tagId="age" dataSource="{actionForm.age}"/>
    <netui:textBox tagId="swage" dataSource="{actionForm.swage}"/>
    here i am adding
    <jsp:include page="NewPage.jsp" />
    <netui:button onClick="isValidAge();" />
    </netui:form>
    </p>
    </body>
    </netui:html>
    child.jsp :
    <!--Generated by WebLogic Workshop-->
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <table class="tablebody">
    <tr class="tablebody">
    <td> wife age
    <netui:textBox tagId="wage" dataSource="{actionForm.wage}"/>
    </td>
    </tr>
    </table>
    can you tell me is this is bug in hte weblogic portal SP1.
    I am using weblogic portal SP1.
    thanks in advance
    shashi

    in this part:
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)should be:
    if(document.LForm.uname.value=="" || document.LForm.upassword.value=="")or
    if(document.LForm.uname.value.length==0 || document.LForm.upassword.value.length==0)

  • Access Java code in Javascript function

    hi all,
    i have a requirement where i need to access a method defined in a plain java class from a javascript function.
    can anyone please let me know, who can i achieve this.
    thanks in advance

    I have a hyperlink in a JSP, onclick of this, i need to perform two tasks:
    (1) the page should be redirected to the same page.
    (2) excute a function which actually defines code to run a perl script.
    so i have wrapped the function in a class and trying to call this function in the javascript function.
    now i am not sure will this work.
    so if there are any other alternatives to achieve this, please share.

  • 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;
    >> }
    >> }
    >>
    >>
    >
    >

Maybe you are looking for