function btn1(){
alert('hello')
}
function btn2(){
alert('anchor')
}
I want to call the function btn1 and function btn2 separate on clicking the div. As it is shown below.
<div onclick="btn2()" style="position:relative">
<div style="width:50%; float:left; height:50px; background:#ddd">
</div>
<input type="button" value="hello" onclick="btn1()"/>
</div>