Turns out the problem was with 'var'.
Changed 'clickedItem = this;' to 'var clickedItem = this;' solved my
problem. I'm going to have to read up on var, it was my understanding that
using var within a function made it local. Hmmm... ??
sinkingfish wr
I'm doing some ajax image uploads using the plugin at valums.com (thanks).
I have multiple images on the page which I will be replacing with the
uploaded image. My problem is this, trying to refer to the clicked image
within the onComplete function.
I tried creating a variable that refered to '
I'm also looking for an elegant solution to this. Did you have any luck?
I've implemented it with sortables, but don't have return animations.
Is there a better way of achieving this?
I've uploaded here for example http://www.sinkingfish.com/target.html
http://pastie.org/514867
Thanks
Brian
Hi
I'm using the ajax upload plugin (http://valums.com/ajax-upload/) to upload
images to the server. I'm then storing the images in an image cache and
returning to the client 2 pieces of info in a json object, 1 the imageId &
the url to display the image.
The problem I'm having is that the plug
Hi I trying to write a script which allows for easily hiding and revealing
content by just specifying the correct class names.
The problem I'm having is that my current script will only toggle elements
if the 'toggletarget' is a immediate sibling of the 'togglebutton'. My
problem is that the 'to
Hi,
I think i might be overlooking the obvious but I've got a string from my
sortable list, something like :
item[]=3&item[]=1...
I don't want to post this using ajax, I want to do a plain old post, but how
do I append the string to the post url?
Thanks
Brian
--
View this message in context:
- No need to compare event.target, nor return false, since you are binding
> to elements with no descendants
>
> - Richard
>
> On Fri, Nov 14, 2008 at 12:34 PM, sinkingfish <[EMAIL PROTECTED]>
> wrote:
>
>>
>>
>> Thanks for the reply Richard, unfortunat
intend it to be nested. Once you've
> corrected that, let us know if you still have a problem.
>
> - Richard
>
> On Fri, Nov 14, 2008 at 10:26 AM, sinkingfish <[EMAIL PROTECTED]>
> wrote:
>
>>
>>
>> Hi,
>>
>> Im new to jQuery and look
Hi,
Im new to jQuery and looking for a bit of help. Im trying to have toggleable
content within toggleable content.
http://pastie.org/314861 Code
It's just not working for me, when I click the first toggle all is revealed?
Am I way off? Something to do with propagation?
Thanks
Brian
--
Vi
Hi,
Im working my way through the book 'jQuery in Action' and i'm a bit stumped
with a block of code and how it works.
The Code :
$(function(){
$('li:has(ul)')
.click(function(event){
if (this == event.targ
10 matches
Mail list logo