So, is it possible to add a link as follows (or some equivalent to this)
<a href="javascript:somefunction()">Click Here</a>
into the Sharepoint page, but without using Content Editor Web Part.
Basically I want to open a new list item form from another site collection's list, and I need to open it in modal dialog, and I have working javascript function that allows me to do just that, but I can't call that function from the link itself because Sharepoint keeps stripping my javascript code when I'm saving the changes. In the other hand, CEWP can not be added to the sharepoint page itself.
Can I do anything about this?
<script>
block in that and from Web Part properties choose Chrome Type=None – Arsalan Adam Khatri Jan 17 '13 at 21:09