Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A dropdown column not coming into view when focused, in IE7

    I have a dataTable in which on the keyup event, the cursor focuses to the next field. In IE7, after a field, the next field is not coming into the view. Please help.
    The occField(2nd attachment) comes into view only after focus moves to next field, i.e LTD Buy up.

    Code:
    if (currId.indexOf("Occ") >= 0)
    		{
    			if(stdBuyUpSelected){
    				autoTabFocus("SBuy",index);
    			}else if(ltdBuyUpSelected){
    				autoTabFocus("LBuy",index);
    			}
    			else if (isStateZipDisp){
    				autoTabFocus("Zp",index);
    			}
    
    		}
    
    
    function autoTabFocus(next,index)
    {
    	var focusElem = document.getElementById(next+index);
    	if (focusElem != null)
    	{
    		focusElem.focus();		
    	}
    }
    Attached Thumbnails Attached Thumbnails A dropdown column not coming into view when focused, in IE7-dropdown.jpg   A dropdown column not coming into view when focused, in IE7-dropdown2.jpg  


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •