checking of whether clicked+Jquery
<p>I'm new to JQuery
In my App, I have some 5 divs. While clicking any one of the div, I want to check whether any other divs have been clicked before</p>

<p>Actually in my code I have </p>

<pre><code>Text
Textarea
Dropdown
</code></pre>

<p>while clicking on Text/textarea/dropdown for the first time (i.e. I need to check whether any of the others including its own has been clicked before) so that I can proceed based on that.</p>

<p>Even if I use what you said having a variable=1 there arose an issue that while clicking on any of text/textarea/dropdown, I want to check whether the one I'm clicking and the others have clicked before.</p>
