So one thing I forgot....I already had a submit button. It's used to initialize the broadcaster stream and start the broadcast.
<button onclick="startPublishing()" class="btn btn-info" disabled
id="start_publish_button">Start Broadcasting</button>
So how would your <button id="btnsend">Send Stream ID</button> integrate with what I have?
Or can I just insert your code after the startPublishing() function?

So, are you saying the code I posted looks ok?
Like I said. Everything works as coded...WITHOUT the ajax code. My only problem is with the ajax....which I have been trouble shooting for a few days now.

So you have to bear with me as I am not a programmer or developer. I'm kinda learning as I go.
But here is the database:
mysql> SELECT * from broadcast;
+----+----------+
| id | streamID |
+----+----------+
| 1 | 23456 |
+----+----------+
1 row in set (0.00 sec)
I need to update the streamID using, I assume, ajax.

Right now I have only two records....Id, and streamID I want to update the steamId.
So this is only one issue. Worse than this is I cannot seem to get a $.ajax to work! No matter
what I try, I cannot see the ajax being executed?