I have made a function with parameters but it doesn't work.
This is my code:
function hideQuestion( _hideQuestion, _showQuestion){
$('#_showQuestion').removeClass('hideOnInit');
$('#_hideQuestion').addClass('hideOnInit');
}
If I use the function like this
<a id='_b_Startpage2' href=\"#Question_01_01\" onclick='hideQuestion(question1, question2);' data-role='button'></a>
...nothing happens.
How can can I fix it?