I'm using twitter bootstrap. I want modal to be shown by clicking on a link using javascript.
$("#my-link-id").click($(this).modal());
However, the code above causes an error of
Uncaught Error: HIERARCHY_REQUEST_ERR: DOM Exception 3
What did I do wrong?