I am not able to apply onclick event in global custom text field.
This is what i’m adding in custom field:
<a id="message_popup2" class="ViewUserProfile2" onclick="viewprofile2([uid])" >Changed & send password </a> <br/>
and this is what view is result is :
<a id="message_popup2" class="ViewUserProfile2" Click="viewprofile2(2)" >Changed & send password </a> <br/>
Make a display tpl of the view and using string replace, replace click by onclick