Home>

There are two buttons, search and send.
Initially, only search is active, send is deactivated, and I am thinking of activating the send button only when searching with search.

The buttons are as follows.

send

jQuery has the following settings.

Clicking the search button with this setting does not respond at all.
By the way,
$('# send_button'). removeAttr ('disabled');
If so, it will be activated for a moment, but it will soon become inactive.

Also,
var result = $('# send_button'). prop ('disabled', false);
alert (result);
Then, it was written somewhere that false was displayed, but [object Object] is displayed.

Could you please tell me the cause and solution?
I look forward to working with you.