-
TypeError: variable "x" redeclares argument in javascript
over 8 years ago
-
over 5 years ago
Hello you can declare this variable at call the above function otherwise pass in call this function for example
<script>
$("#btnsubmit").on("click",function(){
variable1=" ";
add10(variable1)
});
function add10(variable1)
{
//your code
}
</script> -
1 Comment(s)