summaryrefslogtreecommitdiff
path: root/testapp/yaksh/static/yaksh_app/js/add_quiz.js
blob: 184881cffc9526bf97bf64652c686fc408f62997 (plain)
1
2
3
4
5
6
7
8
9
10
11
function test()
{

	document.getElementById('id_duration').setAttribute('class','mini-text');
	document.getElementById('id_pass_criteria').setAttribute('class','mini-text');
	document.getElementById('id_start_date').setAttribute('class','date-text');
    if (document.getElementById("id_description").value != "")
    {
        document.getElementById("submit").innerHTML = "Save";
    }
}