Preventing on_change event after loss of focus on text_area

I’m writing a chatbot client and I have a problem that is very similar to that discussed in the thread linked below. Although I need a JavaScript solution for a text_area element. Does anybody know how to modify the JavaScript in the third post of the linked thread to appropriately handle text_area elements?

Previous Thread

I have solved this issue. Two things were involved in the solution. One, I had a call back function below the widget it was getting called from, so I moved the call back function above the widget. That’s solved one of the problems. The other problem with the input area submitting upon loss of focus was solved by putting the input area inside a form. After completing these two modifications the page works as desired.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.