Create new tag with javascript

Hi,

i am searching long time for a solution how to add a tag to a new book with the Javascript Objects from Firefox. I looked in the sourcefile but this was not so success because there exists Zotero.Tag.exists but i am to silly for correct use! So how i can create a new tag if this tag does not exist? And what happend if a tag with same text exists twice? I was not able to found example or wiki entry or something else helpful..

Thanks for your help,
robert
Sign In or Register to comment.