20
ReactJS में फ़ॉर्म डेटा प्राप्त करें
मेरे renderकार्य में एक सरल रूप है , जैसे: render : function() { return ( <form> <input type="text" name="email" placeholder="Email" /> <input type="password" name="password" placeholder="Password" /> <button type="button" onClick={this.handleLogin}>Login</button> </form> ); }, handleLogin: function() { //How to access email and password here ? } मुझे अपनी handleLogin: function() { ... …