hi all,
    I am using jQuery.autocomplete package to write a jsp. When I
finished the input box by "autocomplete",The focus point can't be
released. Then I can't continue to use another js plugin.

my codes r follows:

        function getTermno(){
        var orgId = document.getElementById("orgId").value;
                JGertTermJsonByOrgId.getData(orgId,termnoCallBack);
        }
        function termnoCallBack(termnos){
        $(document).ready(function(){
      var aa = termnos.split("|");
          $("#selectTermnos").autocomplete(aa);
          });
         }
this is my jsp tag:
<td><input name="selectTermnos" id="selectTermnos" onClick="getTermno
()"/></td>

thanks!

Reply via email to