npminstall--save-dev webpack@1.13.x babel-loader@6.2.x http-server@0.9.x Copy The HTML boilerplate From now on, I am assuming you have a basic knowledge of React and JSX and its component-based approach. If not you can read an excellent article on React components or ha...
function inputchange() { var value = document.getElementById('myInputText').value; console.log(value); var btn = document.getElementById('mybtn'); if (value.length != 0) { btn.disabled = false; btn.value = 'not disabled' } else { btn.disabled = true; btn.value=' disabled' } ...