Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript function calls stripped of

Status
Not open for further replies.

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>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top