src/hg/js/hgGateway.js 1.1
1.1 2010/02/06 01:19:17 larrym
javascript for hgGateway CGI
Index: src/hg/js/hgGateway.js
===================================================================
RCS file: src/hg/js/hgGateway.js
diff -N src/hg/js/hgGateway.js
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ src/hg/js/hgGateway.js 6 Feb 2010 01:19:17 -0000 1.1
@@ -0,0 +1,12 @@
+
+$(document).ready(function()
+{
+ $('input#suggest').autocomplete({
+ delay: 500,
+ minchars: 1,
+ ajax_get: ajaxGet(function () {return document.orgForm.db.value;}, new Object),
+ callback: function (obj) {
+ document.mainForm.position.value = obj.id;
+ }
+ });
+});