JavaScript Error : Can't move focus to the control because it is invisible,

I have one JSP page in my project where i am putting all input to save personal details of a person.
This personal details header contains button(to collapse or expand).
I input all details and save. It works fine but when i collapse the header and name, age etc are not visible.
Only Save and cancel button is visible. so i click on save and following javascript error show up :
Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
In case of expand mode,If there is any error while providing input in text boxes , i have given pop up to display that like " Name field is mandatory " and control focus to that field again. it works fine.
In case of collapse, as fields are not visible and if i directly click on save button. Pop up is displayed as usual "Name field is mandatory" but it pop up again javascript error
"Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."
Please let me know how to reolve this?

1) there is a JSP forum
2) that still doesn't make it a forum to ask javascript questions
Please let me know how to reolve this?Who says that you can resolve it? If it isn't allowed, don't try it. Likely you'll have to rethink the design of your page.

Similar Messages

  • RH8 WebHelp "Can't Move Focus to the Control..." Error

    While testing my help (primary layout is WebHelp) on my local
    machine, the help books/topics freeze after a series of clicking
    them open and closed. I'm not doing this rapidly or in a manner
    unlike a regular user would. IE 6 gives me a page error. The
    description reads "can't move focus to the control b/c it is
    invisible, not enabled, or of a type that does not accept the
    focus." The URL points to the whtdhtml.htm file.
    I've searched the forum and when this problem came up before,
    an answer was in a tech note. I read the TechNote rb_95432 on this
    issue and it suggested editing the webhelp4.js file; however, I
    don't think this file is generated by RoboHelp 8, as it doesn't
    appear in my generated help files.
    Is there a different file I should be looking at? Is this a
    problem with my HTML that I should seek or an Adobe compilation
    issue with IE 6? I recently upgraded my help project from RoboHelp
    6 to RoboHelp 8 and am on a Windows XP machine.

    While testing my help (primary layout is WebHelp) on my local
    machine, the help books/topics freeze after a series of clicking
    them open and closed. I'm not doing this rapidly or in a manner
    unlike a regular user would. IE 6 gives me a page error. The
    description reads "can't move focus to the control b/c it is
    invisible, not enabled, or of a type that does not accept the
    focus." The URL points to the whtdhtml.htm file.
    I've searched the forum and when this problem came up before,
    an answer was in a tech note. I read the TechNote rb_95432 on this
    issue and it suggested editing the webhelp4.js file; however, I
    don't think this file is generated by RoboHelp 8, as it doesn't
    appear in my generated help files.
    Is there a different file I should be looking at? Is this a
    problem with my HTML that I should seek or an Adobe compilation
    issue with IE 6? I recently upgraded my help project from RoboHelp
    6 to RoboHelp 8 and am on a Windows XP machine.

  • RH8 for Word 2003. Runtime Error 5152: Cant move focus to control

    Hi, I am trying to open a word file from the RoboHelp source files and am getting the following error:
    Runtime Error '5152': Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    I am using Word 2003 and RoboHelp 8. I didnt not change anything in the code, its a RoboHelp provided code. RH was installed with my netword id and with admin rights. When I click debug, it highlights the following piece of code.
    Private Function IsRoboHookLoaded() As Boolean
        IsRoboHookLoaded = False
        ' No addins, not loaded
        If (AddIns.Count = 0) Then
            GoTo IsRoboHookLoadedExit
        End If
        For i = 1 To AddIns.Count
            AddInName$ = LCase$(AddIns.Item(i).Name)
            If (AddInName$ = "robohook.wll") Then
                If (AddIns.Item(i).Installed = True) Then
                    IsRoboHookLoaded = True
                    Exit For
                End If
            End If
        Next
    IsRoboHookLoadedExit:
    End Function
    Also, when I click end and try to close the Document, I get another error:
    Runtime Error '5152': Method 'Name' of Object 'AddIN' failed.
    It again highlights the same piece of code on debug.
    Can you please suggest why this might be so?
    Thanks in advance.
    - Shubs

    The formatting is lost if the robohelp.dot template is not present in the same folder as the word document I am trying to open (and edit). The template is still present under application data\templates. Below are your answers:
    So if you have the robohelp.dot in the application data\templates folder and open the project and the doc, the fomatting is gone in the doc and it is is plain text, correct? - Yes
    Are any styles attached to the text at all? - Yes
    For instance if you highlight what was a heading 1, is it still heading 1? - Yes - It still shows as heading 1, but not as big and coloured as the headings in documents with robohelp.dot
    if you create a new help project, do you run into the same problem? - Yes
    I tried copying the styles from robohelp.dot to my document, but still it doesn't reflect the changes.
    I want to be able to open the document (with the robohelp template and its styles attached to it) and edit it, without changing any styles/formatting.
    I am not an expert on this but my feeling is it has something deeper to do with other than just the location of the template or the styles. There should be a reason for  the runtime error 5152: "Can't move focus to control....".

  • "Can't move focus" message

    I'm attempting CSH WebHelp from IE7 and getting the following
    error message:
    "Can’t move focus to the control because it is
    invisible, not enabled, or of a type that does not accept the
    focus."
    The mesage goes on to refer to whtdhtml.htm.
    Any suggestions?

    Perhaps worth adding that it works OK in Firefox.

  • I have playlists on my original iPod but are not in the library.  How can I move them from the iPod to the library?

    I have playlists on my original iPod but are not in the library.  How can I move them from the iPod to the library?

    She can choose to either enable the setting on her iPod to Manually manage music and videos.  With setting enabled she can sync content to her iPod from multiple computers without it affecting whats already stored her iPod. For more information on syncing content to an iPod manually see this article. 
    http://support.apple.com/kb/ht1535
    However, I would recommend copying whats on her iPod to her iTunes library first.  There are several ways to accomplish this.  See this older post from another forum member Zevoneer discussing the different ways to do it.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I have an apple store account and a MobileMe one. I accidentlly put a gift card in the mobile me one. Can I move it to the apple I'd which is the one I use all the time?

    I have an apple I'd and a mobile me account. I accidentlly put a gift card in the mobile me account. Can I move it to the apple I d account?

    Sorry but no. The credit available from a gift card cannot be transferred between accounts.

  • I have DVD's that I made from iMovie. I would like to know a way I can bring them back into a file that I can somehow transfer to my iPad, so I can show movies on it, the iPad.

    I have DVD's that I made from iMovie. I would like to know a way I can bring them back into a file that I can somehow transfer to my iPad, so I can show movies on it, the iPad.

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    Here's one way to install. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • I can not move files to the trash.

    I can not move files to the trash. When I drag the file to the trash it does not move, but it does appear in the trash and when I empty it, the file is erased. When I go back to my files, the file I just deleted is still there. I keep getting the "startup disk is full" message so I need to delete files, but I can't. Anyone know a solution to this?

    try getting a external drive such as a usb flash drive or a hard drive to transfer the files from the startup disk, and free up space.
    hope this helps!

  • HT4236 how can i move pictures from the photo tab on my ipad to my computer (not the photo stream)?

    How can I move pictures from the photo tab  (not photo stream) on my ipad to my computer.  There are some photos that were taken with my ipad, that i want to delete but i can only edit them (straignten, crop, enhance etc)  any suggestions?

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
     Cheers, Tom

  • HT1212 IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • IChat Error: "Can't get video from the camera"

    When I try to Screen Share with iChat on a local network, I receive the error "Can't get video from the camera" when I have an external camera plugged into the FW400 port on my Mac Mini. The Screen Sharing feature works great when the camera is not connected. Anyone know why this is and how to fix it?

    Tell us about the Network you created please.
    What make and model modem ?
    Can it route (issue IPs) ?
    IS there a router ?
    Make and model of that please ?
    If there are two devices which is doing DHCP if any are ?
    IS there any computer that is sharing it's Internet Connection with any other computer ?
    I take it from the title and the post that you infer you can Video and Audio chat ?
    The Cannot get Video from Camera normally gets and Error Log pop up.
    This can be opened with the reveal triangle on the left. The Details shown will have a Error number. Do you know what this log says ? (normally Error 20 or 21)
    Old logs are stored in Users/(your account)/Library/Logs/iChatConnectionErrors by date.
    IF you post an Error Log stop at the line that Says "Binary Images for iChat" as we don't need the bits below that yet.
    As the Screen share in iChat uses an Audio component then the Camera if it is also the Mic needs to be ON.
    In your case this may mean that in the ichat Video Menu both Camera Enabled and Mic Enabled should both be ticked.
    (I have never seen an iChat error code for not (specifically) being able to get the Mic input so the message might be the only one iChat can pop up)
    It does seem very odd that it only effecting Screen Sharing.
    I have a Firewire connected DV converter that has two Firewire ports itself so I can input the camera feed to two computers. When this is in place the System also sees it as a Network.
    I have also heard of one person with a Firewire Stills camera and I think the Storage space was seen as an External Device and therefore appeared Networked which is why I asked the first set of questions.
    iChat does not like being in Two networks (a modem that issues IP address and a router doing the same or Wireless to a neighbour and Ethernet to your Own Internet connection, the Mac being the hub in a Share Internet connection, Wireless and Ethernet to the same router and using Parallels when set to Share the Mac's IP are the most common)
    The Screen Sharing option in iChat > Video Menu is ON ? (at both ends ?)
    As iChat's Screen Sharing is related to the System Screen Sharing and therefore Apple Remote Desktop you may find that in any routing device you may have to open ports 5900 and 5988 if not using UPnP
    http://support.apple.com/kb/TS1629?viewlocale=en_US
    You said Local Network. Do you mean this is using the Bonjour Buddy List ?
    11:21 AM Saturday; June 14, 2008

  • Can not move ringtones to the ringtone folder!

    Sounds amazing, but after downloading a couple of ringtones from the store that show up in my purchased list, I can not move them to the ringtone folder to sync them to my iphone. If they are not in the ringtone folder, they will not go over to my phone. Dragging just doesn't work. What's with this?!?!?

    I had the same problem and have come to the conclusion after 3 hours of trying to compose a ringtone that you have to purchase the song for $.99 and then pay another $.99 for the ringtone you make from the song. There doesn't seem to be an option to make the ringtone from the song in Itune store until you purchase it and put it in your folder. THEN the option is available to edit it to a ringtone. THEN you have to buy the ringtone you just make for another $.99. Seems very strange to me. I don't think I will be using this option anymore.

  • Can I move pictures from the camera roll to the photo stream?

    Can I move pictures from the camera roll to the photo stream?

    You don't, only pictures for icloud/photostream.

  • HT1751 I copied my iTunes folder to an external HD and now I cannot delete it. When I try to move it to the trash it displays The item "iTunes" can't be moved to the Trash because it can't be deleted.

    I copied my iTunes folder to an external HD and now I cannot delete it. When I try to move it to the trash it displays: The item “iTunes” can’t be moved to the Trash because it can’t be deleted.

    Close iTunes. Click the icon to start it, then press and hold down the left shift key. Keep holding until asked to choose or create a library. Choose the iTunes folder on your external drive. That should bring back all your playlists, ratings, play counts etc. You may have to settle for removing and reloading the media onto the device again. That's not too bad, but what you don't want to have happen is your apps being removed and reloaded as then you can lose settings and data. If that looks likely backup and then restore the device rather than sync it.
    If for some reason rebuilding the library the way you did has moved files around then the restored library may have trouble finding things. If so post back and I'll explain what to do...
    tt2

  • Rented some tv shows using iTunes on the computer now can't move them to the apple tv

    I rented some TV shows using the iTunes on my computer then found I can't move them to the Apple TV (the white one, not the new smaller one).

    As long as I wasn't doing anything wrong!
    I'm going to try moving the rented TV shows onto my iPad2 and hooking the TV up with the HDMI cable/connector and watch on the TV that way.
    Any chance Apple will update the software for Apple TV v.1 to accomodate the latest options of the iTunes Store?
    Thanks for the responses Winston.

Maybe you are looking for

  • Windows 7 Hyper V Guest Network Connectivity

    Hello (I posted this question over in the Microsoft VM Converter forum, not sure if that's the right place) I am using Hyper-V Manager in Server 2012 R2 and have created guest vm's that are Windows 8 and Windows 10.  All work fine and can connect to

  • Configuring SMTP in SAP for other Domain(GMAIL,YAHOO ETC)

    i have configured SMTP configuration in SAP........now the problem is mail is going from SAP to local domain,i want to send it to other domain also like yahoo,gmail etc.......plz help me by telling configuration in SAP

  • Buttons will not respond

    I've had my 5th gen iPod for a loong time and I've had the occasional issue, but nothing that a reset wouldn't fix.  I went to go use it today and the buttons will not respond.  No lighting up when I touch the wheel, no play, won't even let me reset

  • Cs4 reinstallation invalid serial number

    Hello, today i tried to install Cs4 Design Standard (after downloading the installation program from adobe) on my new mac pro. I bought CS4 in 2010, but my new mac has no CD Drive. The serial number is invalid and i don't know why! Could you please h

  • How to write input sequence for AR model

    i want to write the following sequence in labview   the input sequence is given by the AR(1) model: x(n) = 0.2x(n - 1) + v(n) where v(n) is white gaussian pseudo-random signal with zero mean and variance is 1.