javascript in inline edit

Hi all.

I want to add javascript to the inline edit fuction in suitecrm 7.11.2 on some fields.
Has anyone an idea how i can do this in an upgrade save way?

kindest regards Robert

There are upgrade-safe ways to add Javascript into specific view classes (like contacts detail view, for example), have you tried those?