Andy Matthews schrieb:
Sorry for the loads of emails.

Using your exact code setup, this is what I came up with:
$('div.data a').click( function() {
        var lat =
$(this).parent().parent().children('.editable').children('span').attr('name'
,'longitude').html();
        alert(lat);
        return false;
});

a little bit shorter:

$('[EMAIL PROTECTED]').click(function(){
        alert($('../../.editable/[EMAIL PROTECTED]', this).text());
        alert($('../../.editable/[EMAIL PROTECTED]', this).text());
});

Reply via email to