You have two options:

liveQuery http://brandonaaron.net/docs/livequery/ to automatically
bind functions

or

Manually do it using something like:

var myFunction = function(e) {
   $('#objects').append('<html
code>').find(".add_letter_code_object").click(myFunction);
};

$(function(){
  $(".add_letter_code_object').click(myFunction);
});

- jake

On Thu, Jul 10, 2008 at 3:19 PM, stephen <[EMAIL PROTECTED]> wrote:
>
> This is my code:
>
> $(document).ready(function() {
>        $('.add_letter_code_object').click(function(event) {
>                $('#objects').append('<html code>')
>        });
> });
>
> What im trying to do is when you click the + button it appends a new
> object which also has a + button to add more, the problem I'm having
> is when you try to use the + button on the NEWLY created object it
> doesn't work, is there a way for updating a function upon appending
> new objects ( or code )? Thanks for any suggestions and help
>

Reply via email to