Hello, I have done some searching on the discussions here and have found info on waiting for fadeins, etc. to finish and then calling another function. However, I am needing something a little different. I am needing for function 1 to process and then call over to function 2 once it's finished. Here is my code:
var $j = jQuery.noConflict(); $j(document).ready(function(){ $j("#select_inv").click(function() { open_popup("Inv_Inventory", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"EditView","field_to_name_array": {"id":"inv_inventory_id_c","name":"name_c","make_c":"make_c","model_c":"model_c","year_c":"yearmanufactured_c","bodystyle_c":"bodystyle_c","vin_c":"vin_c","miles_c":"odometer_c","exteriorcolor_c":"exteriorcolor_c","interiorcolor_c":"interiorcolor_c","trim_c":"trim_c","stocktype_c":"conditionstocktype_c"}}, "single", true), function(){ function2(); }); }); }); How do I do this with jquery? Any help would be greatly appreciated! Thanks!