#183 new

Ajax.Autocompleter blanks out page when used in an Internet Explorer IE framed jsp

Reported by radhakrishna | March 18th, 2009 @ 05:17 PM

I was suggested to raise a new ticket when I posted my first issue on Prototype/script.aculo.us not working in IE 7.0 at : http://groups.google.com/group/p...

So essentially, the autocompleter would blank out the whole frame whenever I start typing in my textbox in my jsp page loaded in a frame whereas it is supposed to load my div with the available options. I used scriptaculous-js-1.8.2 and also found that autoupdater functional test and autoupdater unit tests in FF3.0.7 and IE 7.0.5730.11 and saw the unit tests failing in both IE and FF :(

scriptaculous-js-1.8.2\test\run_functional_tests.html scriptaculous-js-1.8.2\test\run_unit_tests.html

The functional test passed in FF only, every thing else, unit test in IE and FF and functional test in IE failed! I did get the security warning in IE and I clicked the alert and allow the activex content for these pages!

Anyways, I have modified the Ajax.Autocompleter quite a buit to include the what fields I want to display in the dropdown autocomplete and what fields I want to update based on the keys of the selected jsonObject from the jsonobject array passed to prototype. However, the .jsp (Java Server Page) works great in Firefox with and without a frame, but fails in IE when used outside a frame, i.e., as a stand alone page, but fails within a frame.

I always thought that these existing controls and effects in scriptaculous are cross-browser compatible and all issues are already taken care of, am I missing something here?

I have attached the update/modified controls.js file that works/fixes the issue.

Regards Radha Krishna

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
<br/><b>Source available from github</b>
The Git repository resides at:
<a href="http://github.com/madrobby/scriptaculous">http://github.com/madrobby/scriptaculous</a>
<br/>Check out the current development trunk with:
<code>git clone git://github.com/madrobby/scriptaculous.git</code>
<br/>As <b>script.aculo.us 1.xx is feature-frozen</b>, this development trunk is for <b>bugfixes only</b>.
<br/>New development should happen only for
<b>script.aculo.us 2</b>.
<br/><b>Creating a bug report</b>
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, <b>alter the unit tests</b> and show through either changed or added tests how the expected behavior is not occuring.

People watching this ticket


Referenced by