I was trying to get some help with javascript code and asked a question about it. The question was closed for being too localized and moved to chat to discuss it.
I posted my code and was going to explain the issue to someone and just at that moment, I was blocked from posting in the room.
here is the link to the "inappropriate content" that I posted:
https://chat.stackoverflow.com/messages/3917744/history
**HTML:**
<input
id="textBox1"
data-dojo-type="dijit.form.TextBox"
value="some text here"/>
<button id="button1" data-dojo-type="dijit.form.Button">foo</button>
**JavaScript:**
require([
"dojo/ready",
"dijit/registry",
"dijit/form/TextBox",
"dijit/form/Button",
"dojo/domReady!"
], function(
ready,
registry
) {
ready(function() {
var textBox = registry.byId("textBox1"),
button = registry.byId("button1");
textBox.on("blur", function() {
var start = this.textbox.selectionStart,
end = this.textbox.selectionEnd;
Chat Room: https://chat.stackoverflow.com/rooms/17/javascript
Please give me an explaination for what happened.