Trying to add JS to a data label, that will select a specific button if the enter key is pressed from within a specific text box.Â
Â
<script>
$('(name="text box"]').keypress(function(event)
 Â
  { if(event.keyCode == 13)
  { $('Âname="button"]').click(); }
  });
</script>
Â
Tried this script here, but nothing happens on the keypress.Â