Can't get my java script to work

I'm really not good at this but I need this script to validate input. I want a user to be able to input information but if the amount they input is over 2% of Wages1 I'd like an alert to say it can't be greater than 2% of wages. I'm attaching a pic to help explain what i need. Please help me!

A picture is not very helpful. Either post the file, or at least the code, plus an explanation of what is going wrong, including any error messages you're getting.

Similar Messages

  • CAN'T GET "REDPLUM COUPON PRINTER" TO WORK AFTER UPDATING TO JAVA 7 UPDATE 51

    RECENTLY UPDATED TO JAVA 7 UPDATE 51, CAN'T GET "REDPLUM COUPON PRINTER" TO WORK. VALASSIS COMMUNICATIONS, INC. IF YOU CLICK RUN ON THE PROGRAM, DOESN'T DO ANYTHING. WORKED FINE BEFORE UPDATE. DOESN'T WORK WITH INTERNET EXPLORER EITHER. I USE NORTON ANTIVIRUS. DOWNLOADED JAVA MORE THAN ONCE, SAME PROBLEM. EVEN DOWNLOADED WITH ANTIVIRUS OFF, SAME RESULTS. PLEASE HELP.

    The CAPS LOCK key also seems to have gotten stuck on.*
    Update 51 ratcheted up the security on Java applets, so that unsigned applets that used to generate a warning are now completely blocked. Please see the following documentation from Oracle on your options:
    * [http://www.java.com/en/download/help/appsecuritydialogs.xml What should I do when I see a security prompt from Java?]
    * [http://www.java.com/en/download/faq/exception_sitelist.xml How can I configure the Exception Site List?]
    ''* Just a joke-y way of noting that on the web, writing in all caps is considered shouting. Please don't shout at the volunteers.''

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Can't get wake on lan to work on Hp n40l microserver

    Hello
    I installed arch on my HP proliant microserver and I can not get Wake on lan to work. I tested my device with ethtool and it supports and is enabled for WOL with g value set for both.
    But whenever I power it off by systemctl poweroff I can no longer see it as a connected device to my router
    Before installing arch I tried ubuntu for testing the hardware quickly and I got wake on lan working there. I can not figure out what might be the issue here. Wake on lan is enabled in the BIOS.
    Any help would be appreciated
    Cheers

    As I see in the Archwiki , the wol package would also need the IP address ( though not necessary ) along with the mac address of the server.
    I fear that the nic on the server does not obtain an ip in shutdown state, since I can't see it in my attached devices in the router settings( I could be very wrong ! )
    Tried using wol on a laptop running arch, but with no luck.
    I have seen this workaround in several places
    https://bugs.launchpad.net/ubuntu/+sour … bug/981461
    I even tried creating a similar script which would first do
    ip link set dev enp2s0 down
    systemctl poweroff
    but that did not work either.
    Cheers
    Last edited by ayushjsh (2013-04-03 07:00:28)

  • Can anyone get the SimpleVideoPlayer demo to work with 6u13?

    I have tried it on a Vista machine and a Windows Server 2003 machine both with Java 6 Update 13 and the result is the same:
    playing http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv+
    Error with Media: MediaError: media unsupported:com.sun.media.jmc.MediaUnsupportedException: Unsupported media: http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv+
    * mediaSourceURL=http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv*
    Can anyone get this demo to actually work? If so, what's the secret?
    Thanks,
    The Gibbon

    Can someone please try it and let me know?
    This is the link:
    [http://javafx.com/samples/SimpleVideoPlayer/index.html]
    Thanks,
    The Gibbon

  • Can't get the java tray icon or the console to appear

    I can't get the java tray icon or the console to appear on any system that I've tested my applications in.
    I'm using Windows XP mostly and I've also tested on Windows 2000 and 2003. I'm using jre 1.6. I've already set the icon to appear and the console to show on the advanced tab on the java icon in the control panel. I've even tried another application from another author thinking it might be something in the code of my own application.
    I need the console available on the client systems for troubleshooting but I can't get it to open and I can't open it manually from the tray icon because the icon is not there.
    I seem to remember seeing the tray icon and the console on other systems/applications in the past so what do you think is the problem?

    AFAIK, the Sun/Oracle-provided "Java Console" only works (appears) with applets and Java Web Start applications. It shows some information that is unique to those environments, and provides a place for System.out data to be written.
    For a Java application, if the application is started with the java command (as opposed to the javaw command) System.out data is written to the command/cmd window that is created.
    If you need more that that for an application, then [this article|http://www.developer.com/java/other/article.php/630821/Creating-a-Custom-Java-Console.htm] may be of interest. It's old, but still appears to be valid. Note that current versions of Java contain a class java.io.Console. This class should be able to be used as a replacement for the custom Console class that is used in the article.

  • I am trying to get this java program to work

    I need your help, I am trying to get this java program to work. The program is long and massive, but I got stuck in the last point where the program checks if there are a double quotes or a comma in a string.
    The string is an URL retrieved from XML files (this is already done).
    There are 4 conditions:
    Case 1
    =====
    The URL string is of invalid format and contains no commas (,) and no double quotes (").
    Make no changes to the URL string.
    Case 2
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") but no commas.
    Make no changes to the URL string.
    Case 3
    =====
    The URL string is of invalid format and contains 1 or more commas (,) but no double quotes.
    Modify the URL string so that it starts and ends with a double quote (").
    Case 4
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") and one or more commas (,).
    Modify the URL string so that every double quote (") becomes a double double quote (""), and so that it starts and ends with a double quote (").
    ======
    then write the modified URL string to the CSV file.
    ======
    Examples:
    1. hello ---> hello
    2. hello "big" world ---> hello "big" world
    3. hello, world ---> "hello, world"
    4. hello "big,big" world ---> "hello ""big,big"" world"

    You can do the searching with String.indexOf() and then you can make replacements (like " with "") with String.replaceAll().
    As for adding leading and trailing ", that could be done with simple concatenation.

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How can I get my web cam to work in Adobe Connect ?

    This is actually an end user's question that I am having trouble answering to...
    We use Adobe Connect to give online language classes, the end user is one of the students.
    I cannot find the right Support answer to give him.
    Problem:
    My camera does not work when I connect to Adobe's rooms but camera works fine with other software.
    Even though I suspected my old camera was working fine, yesterday I went ahead and bought a new camera. 
    I thought perhaps my webcam software may have been a problem, so I bought a different type camera with different software. 
    Even after removing all the old software, same result:  
    I surmised the problem might be caused by my firewall and security software, so once I tried changing the permissions for Adobe, and my Webcam, but that didn’t work.   
    Another time, I restarted my computer right before class and then turned off my firewall completely so there would be no interference but to no avail. I’m totally perplexed.  
    Isn’t there anyone else experiencing a similar problem?   Has anyone else found a solution? 
    I run Windows Vista with McAfee Internet Security Software.  I always reboot the computer before class and open no other programs other than Google Chrome. 
    I now have a brand new Microsoft LifeCam Cinema Camera with LifeCam 3.5 Webcam Software. 
    I test my camera before going online.  It always works fine.   Then I shut down the camera program and login into class.   
    When I “connect webcam” in the room, the light on my camera comes on (suggesting that it is ON), but only a black image is transmitted to the room.

    Check to see if you have Google Voice installed. If so, remove it and see
    if your problem vanishes. If not Google Voice, check to see if you have
    any other communications software which interacts with your cam and
    disable it. This was the problem I had with a similar problem on a Mac.
    MosesJOI <[email protected]>
    10/13/11 12:08 PM
    Please respond to
    [email protected]
    To
    jsb152 <[email protected]>
    cc
    Subject
    How can I get my web cam to work in Adobe Connect ?
    Re: How can I get my web cam to work in Adobe Connect ?
    created by MosesJOI in General Discussion - View the full discussion
    Thanks a lot Heyward for the swift reply !
    I sent the advice out to the end user, but unfortunately this wasn't the
    solution.
    His reply is below :-
    The default resolution of my new camera is already set at 640x360, but I
    went ahead and tried several lower resolutions (e.g. 424x240; 320x240; and
    160x120) but none worked in the room - camera still showed up as black
    blank screen.  Also, as far as I can tell, I don’t have the option of
    adjusting the frame rate.
    I started playing around with my Internet Security Settings to see if they
    might be playing a role. So far, all to no avail.
    Hmm...quite a tricky one - webcams always are - maybe if he can find a way
    to adjust the frame rate (?).
    He's going to fiddle about with the settings a bit more and see if
    something does the trick.
    If anyone has had a similar problem and found an ingenious solution,
    please jot on a note on this thread.
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969561#3969561]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969561#3969561]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in General Discussion by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • How can I get iCloud to accept my working Apple ID and password

    My Apple ID and password works for iTunes and App Store.  I'm trying to set up iCloud on my iPhone and iPad but i keep getting an error message that reads unsupported ID.  Apple ID must be in the form of email address (@me.com).  I don't have a MobileMe account. How can I get iCloud to accept my working Apple ID and password?

    I've also reset my password to my Apple ID. I still get the Unsupported ID and password.

  • Hello, so today I realized that my iPhone with iOS 6 is frozen on the music. I can get back to the home screen but I can't get the music player to work because its frozen on the w's and will not respond to touch. I would be grateful for any help on this.

    Hello, so today I realized that my iPhone with iOS 6 is frozen on the music. I can get back to the home screen but I can't get the music player to work because its frozen on the w's and will not respond to touch. I would be grateful for any help on this.

    Hi deamayfield,
    Thanks for visiting Apple Support Communities.
    If your Music app is unresponsive, try restarting/resetting your iPhone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Best,
    Jeremy

  • I just got a new itouch and i can't get imessage or facetime to work on my home network

    I just got a new itouch 4 and i can't get imessage and facetime to work on my home wifi network (Airport Express). I can't explain it. The itouch works fine otherwise uncluding the internet. Facetime and imessage work at the apple store so there must be something wrong with my home network. Please help if you can!
    iPod touch, iOS 5.0.1

    I changed the DNS to 8.8.8.8 as you suggested with no success, I even tried 8.8.8.8, 8.8.4.4 as suggested by others with no success either.  When I try and activate iMessage or Facetime, I still get the same message "could not sign in, please check your network connection".  The internet and Mail work perfectly fine on the iPod touch so the WiFi signal IS going through.  I am at a loss, any other suggestions would be more than welcome. Thanks!

  • How can I get my excel spreadsheet to work in numbers

    How can I get this budget sheet to work in numbers when it's from excel.

    I couldn't get the picture of the whole thing it wouldn't load but you see where it say like 700.00 then below that it say 175.00 well that part works telling me what I need to know but when it get to where it says the 850 it stops working? it won't sum it out or something I'm not great with excel and this was sent to me by a first and it's our budget plan and I really need to be able to use it

  • How can I get my iPhone 5s to work in my 2015 outback

    How can I get my iPhone 5s to work in my 2015 outback?

    I Tried that and I can get calls out and in but no messaging.
    AWindow opens and says this feature is not supported  on this device
    my iPhone 4 worked fine   is it my iOS?

  • How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room

    How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room?

    Welcome to the Apple Community.
    Unfortunately the Apple TV doesn't have a web browser so you can't do that.

Maybe you are looking for