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>


--
Kush Murod, Web applications developer
Sensory Networks
[E] [EMAIL PROTECTED]
[W] www.sensorynetworks.com
[T] +61 2 8302 2745
[F] +61 2 9475 0316
[A] Level 6, 140 William Street East Sydney 2011

Reply via email to