jeudi 30 juillet 2015

Modifying href using jQuery generating inconsistent results

When leveraging jQuery to modify the href for a given link - using 'prop' or 'attr' - the call succeeds. I can see the link change in developer tools, if I right click on the link and select "Open link in new tab" it works flawlessly.

BUT

If I attempt to simply click on the link, in the same tab, it, for whatever reason, keeps sending me to the old (non-modified) link as if it's cached on the browser or something. This occurs in Firefox and Chrome.

Anyone seen this before?




Aucun commentaire:

Enregistrer un commentaire