• May 22, 2017
  • by sean

    Nullam orci dui, dictum et magna sollicitudin, tempor blandit erat. Maecenas suscipit tellus sit amet augue placerat fringilla a id lacus. Morbi viverra volutpat ex, id pellentesque felis volutpat eu. Etiam mattis laoreet leo sed accumsan. Fusce tincidunt in leo lacinia condimentum.

    $(document).ready(function(){ $('a[href^="https://shophod.com/online-ordering/flowers/"]').each(function(){ var oldUrl = $(this).attr("https://shophod.com/online-ordering/flowers/"); // Get current url var newUrl = oldUrl.replace("https://shophod.com/online-ordering/flowers/", "https://shophod.com/online-ordering/"); // Create new url $(this).attr("href", newUrl); // Set herf value }); });