jQuery(document).ready( function(){ $('.add_data').click(); });