Now calling a javscript method when clicking in