$()

in Website/public/js/predLOS.js [3:20]


$(document).ready(function () {

    id = getUrlParameter("id");
    // in this example, we have two hard-coded users, Anthony and Ana
    // populate the patient page with either Anthony or Ana based on the id
        if (isEven(id)) {
        $("#nameImg").attr("src","img/Anthony.png")
        $("#labImg").attr("src","img/lab1.PNG")
    } else {
        $("#nameImg").attr("src","img/Ana.png")
        $("#labImg").attr("src","img/lab2.PNG")
    }
    $("#nameImg").click(function(){
        toggleImg();
        console.log("clicked")
    })

});