the following is a string that is displayed in a jquery confirm box.
warningString = "<p style='margin-top: 12px;'>Please Verify the following URL is a valid Redirect URL.</p> <a href= " + redirURL + "' target='_blank'>" + redirURL + "</a><p style='margin-top: 8px;'> By clicking verify you are confirming this is a valid URL and will proceed with checkout. </p>";
I would like the link to add http:// if the variable redirURL is missing it. I am a little lost on how i would do it.
thank you