jQuery: Replacing URL Params

Andrew Park
1 min readAug 19, 2018

--

The Issue: Client’s search results page returns list of hyperlinks with an extra root path leading user’s to dead pages

The Band-Aid: Filed a ticket with vendor support. Installed this small script on landing page.

Lessons Learned: jQuery wildcard selectors can be incredibly helpful but not needed for this solution.

Link in bottom-left uses replacement href

--

--

Andrew Park
Andrew Park

Written by Andrew Park

Into: Software, E-Commerce, Digital Marketing. Former & future journalist. Kid from Queens.

No responses yet