以下のようargumentsに渡す方法はありますかjquery/javascript
function showContentDiv(args ......){
 //do some thing with looping args
}
とのような使用法
showContent("","","","");  //should change the parma count each time 
jqueryで配列を準備して渡すことを避ける理由は、以下のようなリンクがあるためです
<a onclick="javaScript:showContent("val1","val2","val3")">
<a onclick="javaScript:showContent("val1","val2")">