How to add different parameters to the href link when looping through DOM?

when I am looping DOM, how do I add a looped value to the href in the a tag, and then click on the a tag, and the past value of the page jump transfer is also different?
I"ve tried using the $(".bl"). Attr ("href", xxxxx) method, but the href of each a tag is the same, and the resulting value is the last value looped out.
what should I do? every time I click on the link of a tag, the parameters are different.
clipboard.png

Mar.09,2021

. Why don't you just change the href every time you cycle?
(and this code is too stingy, what can you see? it can't be changed. )


$('bl') [index] take

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be23b7-315c9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be23b7-315c9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?