How to change a value of a container?
===

I have following piece of code:

    if (json.result=='OK') {
                  message="Your correction has been added successfully";
                 $("#ShoppingCartView.custom_terms_n_conditions/24").empty();
                 $("#ShoppingCartView.custom_terms_n_conditions/24").html('123');
    }
    alert(message);

There is the problem: I can see alert with message, but the element with id="ShoppingCartView.custom_terms_n_conditions/24" doesn't change its value! This element exists really, and I don't understand why. Please, help me. 