Re: Set Department in script

  •  05-09-2011, 9:10 PM

    Re: Set Department in script

    Hi jvarga,
     
    1. Open file "\CuteSoft_Client\CuteChat\SupportClient.aspx"
     
    2. Add the code below to the end of the page. "input_department" is the department select control, so you can handle it by javascript.
    The code below just a simple example. You should write your own logic to handle it.
     
    <script>
    window.onload=function()
    {
        var input_department=document.getElementById("input_department");
        input_department.selectedIndex=2;
    }
    </script>
     
    Regards,
     
    ken
View Complete Thread