Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created August 19, 2011 14:18
Show Gist options
  • Save BDQ/1156903 to your computer and use it in GitHub Desktop.
Save BDQ/1156903 to your computer and use it in GitHub Desktop.
Get Add Product to work via js
$('#add_product_name').val('apache');
$('#add_product_name').trigger($.Event('keydown', { which: 34} ));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment