Admittedly, javascript is not my strong suit. I need to be able to append a parameter from the url into three a href links using javascript. The structure of the url will be www.mysite.com?parameter.
Currently, the links are:
https://www.acme.com/sui?bc=QOS-B20
https://www.acme.com/sui?bc=USE-BFN
https://www.acme.com/sui?bc=USP-BFN
The resulting links should be:
https://www.acme.com/sui?bc=QOS-B20&sc=parameter
https://www.acme.com/sui?bc=USE-BFN&sc=parameter
https://www.acme.com/sui?bc=USP-BFN&sc=parameter
I already have jquery loaded on the page.
I tried to follow the directions on this post: Passing an URL parameter to a href link using Javascript but it didn't work.
Thanks!