Yes Robert your assumption is correct.
I am using HTML Area only.Earlier i used the same Coding that you mention and that method in global, i know if its global also nothing to worry.After you mention myform i convert that to form method then also its not working.The link's click option is not working fine.When i debugging the method the customerno_link() method is not at all calling.In that customerno_link() method i call the showRecords() to display the records thats contains the value thats passed through the customerno_link('+ dataset_1.getValue(i,1) +')">' in the coding.Is the things that i made is possible.If not whats the possible way.
html += '<a href="javascript:customerno_link('+ dataset_1.getValue(i,1) +')">' + dataset_1.getValue(i,1) + '</a>';
Note : The form that the records need to display in one Server.And the Form that's the link is present at another Server.Is it make the issue.