Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-22-2011, 10:05 AM   PM User | #1
sdawar
New Coder

 
Join Date: Aug 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
sdawar is an unknown quantity at this point
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
Click image for larger version

Name:	dropDown.JPG
Views:	24
Size:	21.7 KB
ID:	10224   Click image for larger version

Name:	dropDown2.JPG
Views:	21
Size:	21.5 KB
ID:	10225  
sdawar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:45 AM.


Advertisement
Log in to turn off these ads.