I want to sen two id's when onclick occurs like now when div 2 is clicked I want to pass just the id of the 2nd div too & then write script for the 2nd div. is it possible? if so, then how? any example?
<div id="1st_div"></div>
<div id="2nd_div">
<div id="inner_of_2nd_div" onclick="myfunction('1st_div')"></div>
</div>