Multiple embedded stream twitch API

Okay cool, but how about I change the on click button into a text field? whereIn I can do a "<input type =“text” name=“stream_channel>” where stream_channel stands as a table row in the database.

and on the channel is

channel: “stream_channel”

is it possible to do it that way sir? thank you for the reply earlier!