devstylex
Programmer
- Jun 20, 2007
- 8
Added calls to javascript functions are stripped of. So snippet 1 is changed into snippet 2. But snippet 3 is saved without any changes by the content editor (web part). Can anybody tell me how I can enable adding attributes to hyperlinks to just call javascript functions?
Snippet 1:
<a href="javascript:function();" title="">
<img src="/dir/file.jpg">
</a>
Snippet 2:
<img src="/dir/file.jpg">
Snippet 3:
<a href=" title="">
<img src="/dir/file.jpg">
</a>
Snippet 1:
<a href="javascript:function();" title="">
<img src="/dir/file.jpg">
</a>
Snippet 2:
<img src="/dir/file.jpg">
Snippet 3:
<a href=" title="">
<img src="/dir/file.jpg">
</a>