Side navigation
#12000 closed bug (invalid)
Opened July 02, 2012 12:26PM UTC
Closed July 02, 2012 06:59PM UTC
remove() doesn't work most of the times
Reported by: | geekrule | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
the remove function doesn't work always.it works very few times.tried with older versions of jQuery too but still did not help.this is the code
http://jsfiddle.net/geekrule/29eDA/2/
this basically adds a textbox when an image is clicked and should remove the same when it is clicked it again.it works as stated very few times.and sometimes the remove function doesn't take place at all but the unselection does.
Thanks.
Your logic is incorrect, this doesn't seem to be a jQuery problem. Try something like this instead:
http://jsfiddle.net/YksaL/1/