Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6626549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:54:19+00:00 2026-05-25T21:54:19+00:00

Im confident that this isnt a sharepoint 2007 issue, but id rather cover all

  • 0

Im confident that this isnt a sharepoint 2007 issue, but id rather cover all of my bases.

I am consulting at a large company, developing a sharepoint solution for their intranet. One of my tasks is to switch the regular dropdownlist in the sharepoint 2007 listview with something that has type ahead and filtering. So i chose a jquery combobox.

Now, in everything but ie6 this combobox works, and the onchange event also works. My process is this:

function diidFilterLinkTitleNoMenuOnChange()
{
     FilterField("{9232EB4D-2E5D-40D3-A1C0-818CC21AC839}","LinkTitleNoMenu",this._selOption.value, this.selectedIndex);
}

$(document).ready(function(){
window.dhx_globalImgPath='../_layouts/Intranet.Portal.Custom/PeopleChangesFiles/imgs/';
    var y = document.getElementById('diidFilterLinkTitleNoMenu');
    if(y != null)
    {
          $('#diidFilterLinkTitleNoMenu').change(function(){}).attr('onchange',function(){});


          var z = dhtmlXComboFromSelect('diidFilterLinkTitleNoMenu');
          z.enableFilteringMode(true);
          z.attachEvent("onchange",diidFilterLinkTitleNoMenuOnChange);
          y.parentNode.removeChild(y);       

    }        

    })

I am removing the current onchange event before turning the select list into a combobox, then reassigning a different onchange event.

What is happening as far as i can tell in ie6, is that the old onchange event is still there, still attached, and firing first as it breaks the code and my event doesnt run.

Is there a special way in removing events in ie6? Or am i doing this wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:54:19+00:00Added an answer on May 25, 2026 at 9:54 pm

    Thats because change() method is a shortcut for .bind('change', handler). And .bind attaches event handler not removes or overrides.

    Quote from bind() page:

    When an event reaches an element, all handlers bound to that event
    type for the element are fired. If there are multiple handlers
    registered, they will always execute in the order in which they were
    bound.

    Use unbind to remove event handlers: $('#diidFilterLinkTitleNoMenu').unbind('change');

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This issue may have be raised here before, but I am not confident that
I'm fairly confident that there's no way this could work, but I wanted to
I realize that there are many questions similar to this one, but having looked
All right, let me preface this by saying: I'm not completely confident this is
I'm still not that confident when it comes to write unit tests for more
i have looked at the issue closely since you guys were so confident and
Let me begin by stating that this is a question of aesthetics. I've solved
I've been researching a solution to this all week and while there have been
I'm very sure this problem has been solved, but I can't find any information
When calling a WCF service from Silverlight that works for smaller parameters, but fails

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.