I found the error.
had to do data.remove(); instead of data.hide();
On 6 Jan., 17:23, revivedk wrote:
> I'm pretty sure i'm not replacing it,
> im calling this: $(this).attr("src","images/up.png");
> does that actually replace the element?
> I did try $(this).src = "images/up.png"; however that
I'm pretty sure i'm not replacing it,
im calling this: $(this).attr("src","images/up.png");
does that actually replace the element?
I did try $(this).src = "images/up.png"; however that didn't seem to
work
On 6 Jan., 17:04, Ricardo Tomasi wrote:
> There it is. How exactly does it change, are yo
There it is. How exactly does it change, are you replacing it?
See the LiveQuery plugin, it rebinds event handlers to all matched
elements automatically: http://brandonaaron.net/docs/livequery/
On Jan 6, 7:49 am, revivedk wrote:
> Thank you!.
>
> I've been thinking that it "might" be because th
$(document).ready(function(){
$("#cal > ul").tabs();
$(".CalendarDelete").click(function(Element) {
var CalendarID = $($(Element.target).parent()).parent().attr
('id').substr(4);
var deleteIt = confirm("Vil du slette denne kalender og alle
tilkn
Thank you!.
I've been thinking that it "might" be because the element changes? in
that case, how would I make it re-register the click event when the
element has been clicked?
On 5 Jan., 21:22, Ricardo Tomasi wrote:
> doesn't make any sense, there must be something else interfering with
> your
doesn't make any sense, there must be something else interfering with
your code.
BTW, you can make that way more readable:
$(".showEvents").click(function(e) {
var Calendar = $(this).parent().parent(),
ID = Calendar.attr('id').substr(4),
data = $('#data_+ID);
if (data.l
How about copying and pasting the code in question.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of revivedk
Sent: Monday, January 05, 2009 11:06 AM
To: jQuery (English)
Subject: [jQuery] Re: $.click stops working after 2
Unfortunately, no.
On 5 Jan., 17:57, Liam Potter wrote:
> can we see a live example?
>
> revivedk wrote:
> > Hi.
> > I'm having a problem, where
>
> > $(".showEvents").click(function(e) {
> > var CalendarID = $($(e.target).parent()).parent();
> > if ( $('#data_'+CalendarI
can we see a live example?
revivedk wrote:
Hi.
I'm having a problem, where
$(".showEvents").click(function(e) {
var CalendarID = $($(e.target).parent()).parent();
if ( $('#data_'+CalendarID.attr('id').substr(4)).length > 0 ) {
$(e
9 matches
Mail list logo