@ user2805663 I know this post is pretty old, but although I can post a solution that can help someone else, as it helped me.
Thanks @Mangala Edirisinghe
using the following method, you can upload two separate files in two different DIVs with a single click (Link).
$(document).ready(function(){ $("#clickableLink").click(function(){ $("#contents").load('url/file1.php'); $("#contents2").load('url/file2.php'); }); });
Techyogi
source share