title: how to print values in console using scriplet in javascript while a function is called
body: <p>How to print values in console (like <code>System.out.println()</code> in <code>java</code>) using <code>scriplet</code> in <code>javascript</code> while a function is called ? if i used <code>System.out.println("test")</code> in <code>scriplet</code> the values is getting printed while a <code>jsp</code> form is loading but i want it to print only when a java script is called.</p>