We have an external javascript file (actinicsearch.js) that gets called as part of a catalog results page, AJAX is involved on this document - https://www.columnradiators4u.co.uk/...radiators.html
I have a jquery function for altering colour of a span when it detects certain text - please see my code below.
This code is being called earlier on in our file, however it is not executing. If I take my code in to chrome/Firefox console and run it, it executes successfully.
Is anybody able to assist in this matter?
Many thanks in advance,
Matt - SMR.
EDIT: Should probably add, see my last post of this thread - reason behind this method. http://community.sellerdeck.com/showthread.php?t=57439
I have a jquery function for altering colour of a span when it detects certain text - please see my code below.
Code:
function ReInitStockColor(){ $(function() { $("span:contains(In Stock)").css("font-weight", "bold").css("color", "#00BF00"); $("span:contains(Due)").css("color", "#FF0000"); $("span:contains(Made)").css("font-weight", "bold").css("color", "#00BF00"); }); }
Is anybody able to assist in this matter?
Many thanks in advance,
Matt - SMR.
EDIT: Should probably add, see my last post of this thread - reason behind this method. http://community.sellerdeck.com/showthread.php?t=57439
Comment