Problem with Select onchange event

Problem with Select onchange event

Hi everyone,

I'm a complete noob at jQuery but a client of mine is asking me to fetch data of a website that is using jQuery. Now most of the stuff works but I do have a problem with a select-element.

On the page there's a select element that upon choice changes content in the page.

When I do it manually there's no problem.

However I'm making the selection in the selectbox using javascript.

 

for example:

[code]

document.getElementById('selectid').selectedIndex = 2;

[/code]

Now when I choose the option with javascript it selects the option but it doesn't trigger the onchange-event.

Now you could manually trigger the onchange event by using:

[code]

document.getElementById('selectid').onchange();

[/code]

But in this case that doesn't work. So I can select the option but the content is not being changed.

I went looking in the code and nowhere in the code is there any reference to an onchange-event.

So I'm guessing it has something to do with the jQuery. I just don't know how to call it. I'll add the files here, hoping one of you could take a look and tell me what I can do.

The select id that I want to trigger is: "results_select_meeting"

I'm hoping someone of you can help me out.

Thanks,

Cainnech