[jQuery] Re: events propagation once again

2009-11-11 Thread norbi
After reading this group history and other google sources I came into the conclusion that it would not be possible to simulate the click by trigger("click"). Anyway, here is the code that is working fine for me. Maybe useful for someone. Thanks for help. Brgs Norbert $("#menu_ma a") .clic

[jQuery] Re: events propagation once again

2009-11-11 Thread norbi
Hi Matthew, Thank you for answering again. I am using jQuery 1.3.2 I am afraid that $("#fake_href").trigger('click').stopPropagation(); is not the right solution here. Since #fake_href is outside the ... I do not need to stop propagating here, but ... Your idea was interesting and I checked

[jQuery] Re: events propagation once again

2009-11-10 Thread norbi
I am even more confused right now. I decided to create fake outside to avoid the propagation issue. $(document).ready(function(){ $("#menu_ma a") .click(function(e,a){ $(this).closest("li.ui-selectee").addClass("ui-selected").siblings ().removeClass("ui-select

[jQuery] Re: events propagation once again

2009-11-10 Thread norbi
Thank you for answering. >Looks like you could listen for a click on the 'li' then trigger a >click on the child 'a' tag without worrying about extracting the >target or href. I know that. I do that. I am extracting target due to workaround. If we skip that, when I catch the click in and then tr

[jQuery] events propagation once again

2009-11-10 Thread norbi
Hello everybody It is my first post here I guess. I must say - I love jQuery, thank you ! A few days ago I faced a problem that I cannot overcome and hope you can help me. In the group archive I saw similar problem, but solved in the way I have it solved, which is not sufficient for me right now.

[jQuery] [validate]

2009-05-29 Thread norbi
Hello, Thanks for great plugin :-) I have a question related it. Hope someone can help me please. Let's assume I have a form and a few text inputs. I would like not only to validate them on every change but also to fire custom function. I dont know how to achieve that. What I am trying to do is