[UPHPU] javascript clone, wait

Wade Preston Shearer wadeshearer.lists at me.com
Wed Mar 2 16:47:35 MST 2011


I am using jQuery to clone a hidden template and then insert the clone into a table as a new row. I need to count how many rows there are immediately after the insert. It appears that my count call is happening before the clone/insert finishes resulting in an inaccurate account. jQuery's clone function unfortunately doesn't have a callback sub-function. 

How could I get around this?


More information about the UPHPU mailing list