Is there any way to pass the arguments
to jquery/javascript
like below
function showContentDiv(args ......){
//do some thing with looping args
}
and usage like
showContent("","","",""); //should change the parma count each time
Reason behind avoid preparing a array in jquery and passing is I have links like below
<a onclick="javaScript:showContent("val1","val2","val3")">
<a onclick="javaScript:showContent("val1","val2")">