Improved submission of sequences to external code and URLs
This release has two new features:
- When you use the
action
button to pass a set of selected sequences to a piece of JavaScript, the code now passes an array of complete sequence objects instead of building an array containing sequence objects with onlyid
andsequence
attributes. This means that the sequence object can have additional attributes (such as an accession or primary key for a database table) that mean nothing to JSAV itself and are not displayed, but can be passed out to other code. - When you use
idSubmit
to pass data for a single sequence to a URL, you used to be limited to passing the sequence itself. Using the newidSubmit
option, you can now say which attribute you wish to pass - e.g. theid
or some additional attribute that you have placed in the sequence object. The default is to pass the sequence as before.