I did everything I could to make it happen, but without success.
The problem is that I create an element on runtime then bind a function to the element like the fo
You don't want to run the function at the point in the code, so remove the ():
()
$('#runtime').bind('click', func_name);
If you're using jQuery 1.7+, though, you should either use .on():
$('#runtime').on('click', func_name);
or use a .click() handler directly:
$('#runtime').click(func_name);