473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Trouble with Autocomplete text field in iframes

I have a page which has 3 iframes- top frame , left frame and middle frame. The middle frame has text fields for users to enter information into. Now when the autocomplete option is set on the browser, the drop down box appears around 50 to 100 pixels below the text , and not just below the text box as it should be.

Anybody knows how to fix the problem?

I see that this problem only happens when i Use Iframes, as i tried the typing in text without the iframe, and the autocomplete dropdown shows up perfectly under the text field.

Please do help me on this.

Thanks

Sanjeev
Nov 29 '06 #1
4 3827
Chrisjc
375 256MB
I have a page which has 3 iframes- top frame , left frame and middle frame. The middle frame has text fields for users to enter information into. Now when the autocomplete option is set on the browser, the drop down box appears around 50 to 100 pixels below the text , and not just below the text box as it should be.

Anybody knows how to fix the problem?

I see that this problem only happens when i Use Iframes, as i tried the typing in text without the iframe, and the autocomplete dropdown shows up perfectly under the text field.

Please do help me on this.

Thanks

Sanjeev

If you post the code I might beable to help you out on this.

Chris
Nov 29 '06 #2
Chris,

The problem was sorted with a bit of style edit...:)

added positioning style item to the IFRAME :

style='position:relative;left:0px;top:0px;'

and the autocomplete box jumps back to it's correct position.

Thnx anyway

Sanjeev
Nov 30 '06 #3
Chrisjc
375 256MB
Chris,

The problem was sorted with a bit of style edit...:)

added positioning style item to the IFRAME :

style='position:relative;left:0px;top:0px;'

and the autocomplete box jumps back to it's correct position.

Thnx anyway

Sanjeev
Sounds good, Glad you got it.

Chris
Dec 1 '06 #4
AricC
1,892 Expert 1GB
You should consider using div's instead of iframes they are much more stylable. Not sure stylable is a word but w/e.
Dec 1 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: shalinmangar | last post by:
Hi, I want to build an Ajax based autocomplete feature. Being a server side guy, I have little knowledge regarding layers and DHTML stuff. Having already implemented the AJAX part of the app, I am...
5
by: jdzemke | last post by:
I am getting 'options' is null or not an object using when using a dynamic dataset with a dropdown list in an html form. I am filling-in a text field and filtering the values in the drop-down. ...
1
by: wkerplunk | last post by:
Below is what I have build with several different languages. It works great but I need help, I am stuck. When you click on an item in the dropdown autocomplete div it does a mousedown function...
10
by: bonneylake | last post by:
Hey Everyone, Right now i have a script where when someone starts typing in the input field that it populates the drop down box next to it. Once both the input and drop down box have the same...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.