May-02-2020, 08:45 AM
I'm not really understanding what you want to do. Why do you need to do anything client-side at all? Why not just build the links appropriately on the server (i.e. in the template, or wherever else you're doing it)? Please explain more.