Tom, what exactly are you trying to do?  You have an anchor click
handler that adds a click handler to some other element (BlockLogin1)
which then blocks some other element (blockMe)?  What dynamic divs are
you referring to?


Thanks but it doesnt seem to work. I am really stuck on how to do
this. I have tried everything I can think of. Has anyone ever done
anything like this before?

On Apr 1, 8:41 pm, Kush Murod <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> I'd normally do this, not sure if it is correct way of doing things but
> it works for me
> If id you are passing is someID to BlockLog. notice this '#'+
> ...
>
> $('#'+someID).click(function() {
>
> ..
> Give it a try
> --Kush
>
>
>
> Tom Shafer wrote:
> > I am trying to select different divs, each is given a unique id
>
> > and im using this to apply a effect to it
> > function BlockLog(id) {
> >          $(id).click(function() {
> >             $('#blockMe').unblock().block('<h1>Processing...</h1>',
> > { border: '3px solid #a00' });
> >         });
> >     }
>
> > with this to call it
> > <a href="#" onClick="return BlockLog('BlockLogin1')">Your Turn</a>
>
> > with a div like this
>
> > <div id="blockMe">test</div>

Reply via email to