S2Member JS function restriction

Hi,
I would like to know if I can restrict a function. Here's the code:
<input class="b_agent_contact" type="button" onclick="javascript:booking_fun()" style="margin-left: 115px;" value="Book-it" name="Send">
and how to do that. This fuction need to be accesible only for paid members, any level. Do I need to be an advance developer? I have some HTML knowledge.
I know there is a API URI area on WP admin that I can enter different fields. ...
Can somebody help me?
Tks,
arnette
I would like to know if I can restrict a function. Here's the code:
<input class="b_agent_contact" type="button" onclick="javascript:booking_fun()" style="margin-left: 115px;" value="Book-it" name="Send">
and how to do that. This fuction need to be accesible only for paid members, any level. Do I need to be an advance developer? I have some HTML knowledge.
I know there is a API URI area on WP admin that I can enter different fields. ...
Can somebody help me?
Tks,
arnette