When i insert the menu.js file the validations(javascript) is not works

i write the following code into "menu.js" file ie. for menu bar its work finely. I write one jsp file in that i write the code for insert record with the validatations eg. check whether its number or not/ integer or not.
In this jsp file i include the .js file ie. menu.js.
============== In jsp file ===================
<table align=center width=100%>
     <tr>
          <td>
                    <script type='text/javascript' src='menu/menu.js'></script>
          </td>
     </tr>
</table>
=================================
But problem is this when i insert the above 5 or 6 lines into jsp file at run time validation script is not working and when i remove the
above code then validation script is works.
So experts i want works both means the menu and the validation script.

andy_surya wrote:
i write the following code into "menu.js" file ie. for menu bar its work finely. I write one jsp file in that i write the code for insert record with the validatations eg. check whether its number or not/ integer or not.
In this jsp file i include the .js file ie. menu.js.
============== In jsp file ===================
<table align=center width=100%>
     <tr>
          <td>
                    <script type='text/javascript' src='menu/menu.js'></script>
          </td>
     </tr>
</table>
=================================
But problem is this when i insert the above 5 or 6 lines into jsp file at run time validation script is not working and when i remove the
above code then validation script is works.
So experts i want works both means the menu and the validation script.Despite the confusion there seems to be in many threads (which is scary to me somehow) this forum is not about JavaScript.
You need to debug your JavaScript problem. I suggest starting by using Firefox and then using Tools->Error Console and see what's up. By your description you have two different JavaScripts with conflicting functions or something.

Similar Messages

  • When I tap a menu item (File, Edit, View,etc.) flashing info moves across the screen. I am unable to get to Bookmarks, copy or anything. How do I stop this from happening?

    This has never happened before.
    I don't understand why the arrow tapped on the menu item
    causes the menu list to move rapidly across the window screen.
    I am unable to click Print or exit or anything
    What is that Shockwave Flash 11.1 r102
    I don't recall installing that!

    '''Bookmarks'''<br />
    *In Firefox, Bookmarks are the same as Favorites in IE; just a different name.
    *Info and links about Bookmarks in Firefox: http://support.mozilla.com/en-US/kb/Bookmarks
    '''Video'''<br />
    It depends on the type of video file. If they are .flv files (like youtube.com), you need to install Flash for Firefox; you do not have it installed for Firefox. There are 2 versions of Flash, one for IE only (ActiveX version) and one for most other browsers including Firefox (Plugin version). You must update each one individually.
    #'''using Firefox''' download and save Flash from this link (save to your Desktop; easier for you to find): get.adobe.com/flashplayer
    #when the download is finished, close Firefox (click Firefox button > Exit '''''OR''''' File > Exit, if using the Menu Bar)
    #click or double-click the file you just downloaded
    #on the left side of the install window, put a check mark in the box next to "I have read and agree"
    #click on the Install button on the lower right of the install window; it will light up after you put the check mark in the previous step
    #let the installation complete; it is quick
    #'''using Firefox''' test your installation of Flash here: http://www.adobe.com/software/flash/about/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Acrobat Pro Ver 9 for Win 7 the menu bar (File, Edit, View, Document etc) Disappears when I move the Window

    Lately in Acrobat Pro Ver 9 for Win 7 the menu bar (File, Edit, View, Document etc) disappears when I move the window . . only happens when I have a pdf file open . . everything worked fine until a few days ago . . F9 fixes the problem until I move the window again . . I realize my version is old so I tried tried downloading XI reader and having the same issue . . any help would be appreciated

    Hi Ernestprinter,
    Check if you have multiple Java versions installed on your computer.
    Try clean boot http://support.microsoft.com/kb/929135
    Also i would suggest uninstall security software and install it back.
    Currently you may use F9 key to restore Menu bar.
    Regards,
    Ajlan Huda.

  • I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. The Guest login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • When is select Bookmarks from the Menu Bar, at the very bottom are a bunch of bookmarks. How can I move them in groups to a folder?

    When is select Bookmarks from the Menu Bar, at the very bottom are a bunch of bookmarks. How can I move these in groups to a folder or folders?

    The easiest way to move bookmarks around is in the Bookmarks Organizer, which at some point was renamed the Library. To open it, you can choose Bookmarks > Show All Bookmarks or press Ctrl+Shift+b.
    (Please note that the sort order of the Library dialog doesn't actually carry over to the menu. To sort the menu alphabetically, it's easiest to open the Bookmarks Sidebar, right-click the words Bookmarks Menu and choose Sort by Name.)

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • How can I set up lightroom 5 in my macbook, so that it becomes my default editing program, so that it starts up when I insert my sd card into the mac

    How can I set up lightroom 5, so that it becomes my main / default editing program & that when I insert my sd card into the mac lightroom starts instead of iPhoto .

    Thanks.  Im new to apple, which preference?
    Sent from my iPhone

  • When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the o

    When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the original in my work folder. I need to know how to stop this from happeing and get it back to the way it has been working he last 6 months since i purchased this program.

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • How do i drag media to the menu screens in premiere elements 13? I can't see my audio files and the menu screens at the same time. In prior versions it was easy

    How do i drag media to the menu screens in premiere elements 13? I can't see my audio files and the menu screens at the same time. In prior versions it was easy?
    It is very cumbersome to "re browse" for audio files/pics/movie clips to add to menu screens. Certainly there is a way to view the media and menu screen at the same time so I can drag and drop?

    Jayhawk
    I think I know exactly what you are seeking and believe it cannot be done in Premiere Elements 11, 12, and 13 as it can be done in versions earlier than 11 where the Disc Layout and Project Media are viewed side by side.
    Premiere Elements 13 uses a Movie Menu customization workspace which is not allowing viewing of Project Assets in the Expert workspace at the same time.
    ATR

  • I am using CS6 InDesign suite on a PC using a Windows 7 operating system.     Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar across the top (File, Edit, View, etc.), and

    I am using CS6 InDesign on a PC using a Windows 7 operating system.
    Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar across the top (File, Edit, View, etc.), and the menu bar on the left side with the graphic depiction of options.
    In earlier versions of Windows (e.g. XP), whenever I changed the screen resolution on my computer to a lesser resolution in order to show the link icons on my desktop in a larger, more readable size, all the software programs, including yours, appeared on my screen with the menu bars in the larger font size that I needed.
    However, in Windows 7, this is not the case.  Even though I have selected the lowest resolution, making the icons on my desktop extremely large, I cannot read the options across the top menu bar of your program, nor the pull-down menu items that they contain.  I cannot see the graphic depictions of options on the left side of the screen. They are all too small.  How can I make your program increase the size?

    NO way.
    Mylenium

  • HT2513 In my iCal, "new reminder" does not appear in the menu under "File". How can I get reminders to show up on my iCal

    In my iCal, "new reminder" does not appear in the menu under "File". How can I get reminders to show up on my iCal?

    If you're running Mountain Lion (10.8.3), reminders is now a separate app.  Launch reminders from your applications group and you will be able to access File>New Reminder.

  • Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the

    Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.

    Hi Nealeh
    Thanks i think I got it working of a fashion.
    Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
    Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
    Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
    The scenario is:-  say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
    Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
    So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
    Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
    She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
    Had she had a normal skimpy bikini on, no problem!
    If i don't solve it, she will get fired!
    Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
    "Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
    I have Safari on this iPad. Guess that is all it runs.
    So technology is not my friend today!

  • When I click on the Menu or Choose the Drop down for CC, it doesn't show the options

    I've been having this issue for a while now since the last update. When I click on the top nav options or try to select "CC" or "BCC" when creating an email. The outline of the dropdown box shows, however the listed options don't show or it takes a minute for them to show. I have attached a screenshot of what I'm seeing. I typed out a sentence and right clicked, but the options don't appear, only the outline of a box.

    ''Zenos [[#answer-677769|said]]''
    <blockquote>
    Is there any sign of a highlight moving up and down the menu? Could the text be there but with white letters on a white background?
    </blockquote>
    I don't see any "highlight" moving up and down. Sometimes I have to guesstimate where the "paste without formatting" is, so I know the text is there and clickable. Sometimes the text does show, but it takes a WHILE.

  • I got an iphone. when ive insert my sim card in it, it sat sim not valid. at the end its mentioned please contact apple support. can you help me

    i got an iphone. when ive insert my sim card in it, it sat sim not valid. at the end its mentioned please contact apple support. can you help me?

    Your phone is probably carrier locked and you are using a SIM form a different carrier. Are you?

  • When I insert an SD card into the iMac nothing happens.  It worked fine until today, I double clicked on the card icon on the desk top and it disappeared! Any suggestions?

    When I insert an SD card into the iMac nothing happens.  It worked until today, when I double clicked on the SD card icon on the desktop and then it disappeared!  Cannot find in "Finder".  iPhoto does not open upon inserting card.  Reformatted card with device (camera).  Used Time machine to restart computer before the double click occurence...did not lhelp.  Any suggestions?

    Have a look in Finder Preferences: Click on the desktop, Finder>Finder Preferences.General tab - is there a tick in "External Disks'? If not, tick it.

Maybe you are looking for