[jQuery] Check if callback is empty

2008-06-11 Thread harmstra
hi all, In PHP i have: if ($data = get_order_by_id($order_id)) { echojson_encode($data); return TRUE; } else { return FALSE; } Jquery: $.post("/od/get_order/", {order_no: order_no}, function(order){ $("#name").h

[jQuery] Re: Re[jQuery] place images

2008-05-16 Thread harmstra
Nobody? -- View this message in context: http://www.nabble.com/Replace-images-tp17228847s27240p17273729.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re[jQuery] place images

2008-05-14 Thread harmstra
Hi all, Newby here. I'd like to replace a series of images with other images Say i have img src="http://www.domain.com/123.jpg"; img src="http://www.domain.com/456.jpg"; Before the images are visibly loaded in the browser, i'd like to replace the src. So the browser should act if the so