[jQuery] How to check TD background image has been loaded.

2010-02-25 Thread ace jquery
Hi there, I am trying to update the attr of background in . ==>> is that possibly to use jQuery to check if the background image has been loaded? something like this.. $('#mytd background').load(function(){ alert('the background image has been loaded'); }); Thank you for you help! -Ace

[jQuery] How to move the DIV?

2009-05-07 Thread ace jquery
Hi there, I am trying to move the div object, but it seems doesn't work. any ideas? Thanks $(document).ready(function () { $("
" ) .attr( "id", "myDiv") .addClass( "header" ) .html( "hello

[jQuery] find multiple values

2009-05-11 Thread ace jquery
Hi there, Is there a way to find multiple values? This script checks *name = ben*, what about I want to check if *name = ben* and *name = joe*? Is this possible? Thanks --- var items = [{id:1, name:'bob'}, {id:2, name:'joe'}, {id:3, name:'ben