# How can we know wherethe the button is clicked or not

**URL:** <https://www.ruby-forum.com/t/how-can-we-know-wherethe-the-button-is-clicked-or-not/87316>\
**Category:** Rails\
**Created:** [March 1, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/how-can-we-know-wherethe-the-button-is-clicked-or-not/87316 "2007-03-01T18:05:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trai\_dau\_bap](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/a698b9/32.png) [@trai\_dau\_bap](https://www.ruby-forum.com/u/trai_dau_bap)\
**Post date:** [March 1, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/how-can-we-know-wherethe-the-button-is-clicked-or-not/87316/1 "2007-03-01T18:05:58Z")

</div>

In php we have a command that let we know if the button is clicked :  
isset(buttonId).  
In there any command that have the same function in rail?  
If anyone know, please show me. thanks 🙂
