[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 olli ... I do not need to stop propagating here, but ... Your idea was interesting and I

[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)

[jQuery] Re: events propagation once again

2009-11-10 Thread Matthew
Sorry I can't be more specific Norbert, I'm at work and have limited time. Check out the Trigger event for jQuery: http://docs.jquery.com/Events/trigger 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

[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 li and then

[jQuery] Re: events propagation once again

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

[jQuery] Re: events propagation once again

2009-11-10 Thread Matthew
Hi Norbert, If you read up on the jQuery click event http://docs.jquery.com/Events/click you will see that it binds a click listener to whatever element you apply it to so in your case: $(#fake_href).click(); - this is 'listening' for a user to click on some element with id = #fake_href, so

[jQuery] Re: Events Calendar

2009-10-23 Thread brian
On Thu, Oct 22, 2009 at 7:21 PM, Andri 4r53...@gmail.com wrote: Hi, I needed events calendar for my site. This calendar should : 1. highlight date that had events 2. If i click it, it'll go to events page or show alert about what events that occur that date. I try to use datepicker to do

[jQuery] Re: Events Calendar

2009-10-23 Thread Kevin McPhail
Actually there is a decent little jquery plugin at http://arshaw.com/fullcalendar/ that may be what you are looking for.

[jQuery] Re: Events Calendar

2009-10-23 Thread brian
On Fri, Oct 23, 2009 at 2:10 PM, Kevin McPhail kevin.mcph...@adisseo.com wrote: Actually there is a decent little jquery plugin at http://arshaw.com/fullcalendar/ that may be what you are looking for. That looks very smart. Thanks for the tip.

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread ryan.j
i'm pretty sure you can only bind event handlers with .live, so you'd need to link it to a click or something. On May 18, 3:58 pm, Meander365 aarron.pain...@gmail.com wrote: Hi all, I normally do this with livequery:                 $('.mylink').livequery(function(event) {                  

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Brandon Aaron
Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query. -- Brandon Aaron On Mon, May 18, 2009 at 9:58 AM, Meander365 aarron.pain...@gmail.com wrote: Hi all, I normally do this with

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread chris thatcher
fascinating, i didn't even know you could do that... On Mon, May 18, 2009 at 11:56 AM, Brandon Aaron brandon.aa...@gmail.comwrote: Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query.

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Nick Jones
Unsubscribe

[jQuery] Re: Events without $(document).ready()?

2009-04-28 Thread MorningZ
First you need to understand what .ready() is and does (http:// docs.jquery.com/Events/ready#fn). second, if you want to fire an event when someone touches a control, then you probably want to use .focus(), not .change(), but what you define that as may be different than what I *think* you

[jQuery] Re: events, lock and unlock

2009-02-03 Thread Stephan Veigl
Hi Cequiel, I've some questions to your problem. 1. Who triggers your events and when are they (supposed) to be dispatched? 2. If anotherevent happens before myevent it will have no effect on anotherobject. So what is anotherevent for? 3. What do you mean with lock/unlockEvent()? by(e) Stephan

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread jay
this should work: $(#elementID).click(function(){alert('clicked')}); On Jan 23, 10:20 am, KidsKilla kidski...@gmail.com wrote: Hi everyone! I have a problem with binding events in jQuery. I didn't figured out why, but when i'm tryin to bind a callback to links ( $(elm).click (function() ),

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
Should, but itn't! =( And I whanna know why... maybe some kind of flag... 2009/1/23 jay jay.ab...@gmail.com: this should work: $(#elementID).click(function(){alert('clicked')}); On Jan 23, 10:20 am, KidsKilla kidski...@gmail.com wrote: Hi everyone! I have a problem with binding events

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread Eric Garside
Do you have a public page somewhere that you're trying this? That'd be helpful in diagnosing the problem. Otherwise, we're shooting in the dark here. On Jan 23, 10:59 am, KidsKilla .grin! wuz here kidski...@gmail.com wrote: Should, but itn't! =( And I whanna know why... maybe some kind of

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread jay
Are you including any other js files? Perhaps it's confused about $. Try a simple html file like this: html head script src=jquery-1.2.6.js/script script $(function(){ $(#elementID).click(function(){alert('clicked')}); }); /script /head body div id=elementIDasdf/div /body /html On Jan 23, 10:20 

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
yeap, ill try to publish an example of the page tomorrow... 2009/1/23 Eric Garside gars...@gmail.com: Do you have a public page somewhere that you're trying this? That'd be helpful in diagnosing the problem. Otherwise, we're shooting in the dark here. On Jan 23, 10:59 am, KidsKilla .grin!

[jQuery] Re: events on embedded SVG

2008-03-28 Thread foonuk
Hi, check out http://marvin.elte.hu/balu/content/jquery-svg and the demo at http://marvin.elte.hu/drawing/ireland Seems to work there. On Mar 23, 7:02 pm, zipman [EMAIL PROTECTED] wrote: Hello, I am having an html page and I embed an svg file through. object id=map data=/Demo/map.svg

[jQuery] Re: events on embedded SVG

2008-03-25 Thread Peter Edwards
The SVG DOM is different to the HTML DOM (which jquery was written for) - a lot of things are the same, so you may have some luck using jquery in SVG (there are some threads dealing with SVG related issues in this list which should give you an indication of what to look out for). In the last

[jQuery] Re: events on embedded SVG

2008-03-24 Thread zipman
Anyone? On Mar 23, 8:02 pm, zipman [EMAIL PROTECTED] wrote: Hello, I am having an html page and I embed an svg file through. object id=map data=/Demo/map.svg type=image/svg+xml height=500 width=600 /object or even embed id=map src=/Demo/map.svg type=image/svg+xml height=500 width=600

[jQuery] Re: Events don't work after load content using $.get

2007-12-18 Thread LeonL
Thanks, It solved my problem, But I have another small one: The thing is, I made a function called load() that loads the result of a php file into a div. When done it calls a function called all_js() that contains all the js (all the events that didn't work previously etc.). The problem is that

[jQuery] Re: Events don't work after load content using $.get

2007-12-17 Thread David McFarland
On Dec 17, 2007, at 11:56 AM, LeonL wrote: Hi everyone, I have an event that is not being listened and I can't figure out why. The thing is that everything is working fine while all my html code is static, but as soon as I modified it with some data pulled from the db, the click()

[jQuery] Re: Events double firing?

2007-11-28 Thread Wizzud
I'm afraid we can't get at sites on your localhost! Have you tried setting your mouseover/mouseout events on the image rather than the div? (and you can simply return false from the handlers to prevent default and bubbling). I suspect that, for example, when you move off, the image kicks off a

[jQuery] Re: Events

2007-10-01 Thread John Resig
The only set of X/Y properties that jQuery supports is pageX/pageY, which, I think, will help you out. More information: http://docs.jquery.com/Events_%28Guide%29#event.pageX.2FY --John On 10/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to access the event properties layerX and

[jQuery] Re: Events

2007-10-01 Thread [EMAIL PROTECTED]
Thank you very much. That is helpful--I think using the event.pageXY and the Dimensions plugin I should be able to write something that does what I'm looking for. Thanks again. Jamie On Oct 1, 4:29 pm, John Resig [EMAIL PROTECTED] wrote: The only set of X/Y properties that jQuery supports is

[jQuery] Re: Events not attaching; jquery 1.2.1 and interface elements 1.2

2007-09-26 Thread kalath
I noticed this too except it has to do with the slider widget from interface. It would seem that there's a javascript error being thrown that has to do with the jquery xpath plugin that is required once you upgrade to 1.2. I have not yet found a solution though... Ryan On Sep 19, 2:41 am,

[jQuery] Re: Events firing twice

2007-05-30 Thread Sean Catchpole
I think that some other code might be creating this problem. Do you have an example page of this happening? ~Sean

[jQuery] Re: Events firing twice

2007-05-30 Thread Mike Chabot
Create an HTML page that has nothing but the most basic form with your code and see if the problem still occurs. Your sample code looks fine. -Mike Chabot On 5/30/07, brandags [EMAIL PROTECTED] wrote: Maybe I'm not understanding binding correctly, but when I select a different item from the