Here is an even simpler version. The disease search works fine but the
external_biosample_id does not. Both work fine if I go directly to
ajaxsorsearch.action

<html>
<head>
    <script src="./include/prototype.js" type="text/javascript"></
script>
    <script src="./include/scriptaculous.js" type="text/javascript"></
script>
</head>
<body>

<form id="form" method="POST" action="./">
    <h5>Disease</h5>

    <input id="search_disease" autocomplete="off" size="40"
type="text" value=""/>
    <div id="search_disease_auto_complete"></div>
    <script type="text/javascript">
        //<![CDATA[
        new Ajax.Autocompleter('search_disease',
                'search_disease_auto_complete',
                "./ajaxsolrsearch.action",
        {paramName: 'disease'});
        //]]>
    </script>

    <h5>External Sample ID SMall</h5>

    <input id="search_sample" autocomplete="off" size="40" type="text"
value=""/>
    <div id="search_sample_auto_complete"></div>
    <script type="text/javascript">
        //<![CDATA[
        new Ajax.Autocompleter('search_sample',
                'search_sample_auto_complete',
                "./ajaxsolrsearch.action",
        {paramName: 'external_biosample_id'});
        //]]>
    </script>

</form>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to