function handleChange(event) {
			console.log("TEXT CHANGED");

			// Here we create syntax to capture any change in text to the query terms (pre-search).
			// See this Stack Overflow answer for more details:
			// http://stackoverflow.com/questions/21029999/react-js-identifying-different-inputs-with-one-onchange-handler
			var newState = {};
			newState[event.target.id] = event.target.value;
			this.setState(newState);
		}
// Whenever we detect ANY change in the textbox, we register it.
Whenever we detect ANY change in the textbox, we register it.
Whenever we detect ANY change in the textbox we register it .
function handleChange(event) {
			console.log("TEXT CHANGED");
			var newState = {};
			newState[event.target.id] = event.target.value;
			this.setState(newState);
		}
function handleChange ( event ) { console . log ( "TEXT CHANGED" ) ; var newState = { } ; newState [ event . target . id ] = event . target . value ; this . setState ( newState ) ; }
Whenever we detect ANY change in the textbox, we register it.
Whenever we detect ANY change in the textbox we register it .
// Here we create syntax to capture any change in text to the query terms (pre-search). // See this Stack Overflow answer for more details: // http://stackoverflow.com/questions/21029999/react-js-identifying-different-inputs-with-one-onchange-handler