>
> am so sorry that I am posting this topic here, because this question might 
> be irrelevant for the Firebug community
>
Right, you should have better asked directly in the jQuery 
forum<http://forum.jquery.com/>or at 
stackoverflow <http://stackoverflow.com/tags/jquery/info>.

Anyway, I attached a test case, which works fine for me with and without 
jQuery. Hope that solves your problem.

Sebastian

On Friday, July 5, 2013 4:16:16 PM UTC+2, Ebrahim Khalil Abbasi wrote:
>
> Hi,
>
> I am so sorry that I am posting this topic here, because this question 
> might be irrelevant for the Firebug community. But, I posted this question 
> in other groups and have not got a good answer. 
>
> I am trying to simulate user actions in my Firebug extension. Given two 
> select (combobox) elements A and B, by selecting an option from A, new 
> options are loaded in B. I want to extract all these relations between 
> options of the two select elements. To do this, I programmatically select 
> an option from A and then trigger its change event to load new options in 
> B: 
>
>
>    - jQuery(A).find('option')[j].selected=true;  ///  in which i is a 
>    counter
>    - jQuery(A).trigger('change');
>    
> Options are properly set in A, but the change event is not fired, so, no 
> option is loaded in B. 
>
>
> Any suggestion?
>
>
> Thanks.
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/9ccfd01e-0f09-4885-ac31-2bd376e3305b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Title: Insert title here
Item 1 Item 2 Item 3 Item 4 Item 5 Item 1 Item 2 Item 3 Item 4 Item 5

Reply via email to