Rookie here :) Need help on coding jQuery performing Dynamic search filter

Rookie here :) Need help on coding jQuery performing Dynamic search filter

I think the javascript is conflicting with jQuery because the checkboxes doesnt work but when I remove the script type (Bolded code)  the check box functions.  I have a search box that I created and the goal is to be able to dynamically search on the list and values of what the checkboxes shows.   

Basically what this does on my page is when a check box is selected it will filter based on "my" which is their list.  Now I need to add a search function that is based on "my" or "all" so it will search/filter.  But I think my code for the search is wrong.  Can you guys advise?


Here is the code for the interface.
Note: Not using HTML

  1.             <apex:pageBlockSection title="Campaign Filters" collapsible="false" columns="4">
  2.                 <apex:pageBlockSectionItem >
  3.                     <input type="text" class="my-campaigns-search" /> Search Campaigns
  4.                 </apex:pageBlockSectionItem>
  5.                 <apex:pageBlockSectionItem >
  6.                     <input type="radio" class="my-campaigns-radio" checked="true"/> My Campaigns
  7.                 </apex:pageBlockSectionItem>
  8.                 <apex:pageBlockSectionItem >
  9.                     <input type="radio" class="all-campaigns-radio"/> All Campaigns
  10.                 </apex:pageBlockSectionItem>
  11.                 <apex:pageBlockSectionItem >
  12.                     <input type="checkbox" class="active-campaigns-checkbox" checked="true"/> Active Only
  13.                 </apex:pageBlockSectionItem>
  14.             </apex:pageBlockSection>
  15.  

Here is my code jQuery
  1.     <script>
  2.     
  3.     <script type="text/javascript">
  4.       function doSearch() {
  5.         searchServer(
  6.           document.getElementById("Name").value,
  7.           
  8.           );
  9.       }
  10.         $j = jQuery.noConflict();
  11.         
  12.         $j(document).ready(function(){
  13.             

  14.             
  15.             $j('.my-campaigns-radio').change(function(){
  16.                 if($j('.my-campaigns-radio').is(':checked')) {
  17.                     $j('.all-campaigns-radio').removeAttr('checked');
  18.                     campaignFilter('my');
  19.                 }
  20.             });
  21.             
  22.             $j('.all-campaigns-radio').change(function(){
  23.                 if($j('.all-campaigns-radio').is(':checked')) {
  24.                     $j('.my-campaigns-radio').removeAttr('checked');
  25.                     campaignFilter('all');
  26.                 }
  27.             });
  28.             
  29.             $j('.active-campaigns-checkbox').change(function(){
  30.                 if($j('.active-campaigns-checkbox').is(':checked')) {
  31.                     campaignActiveFilter('active');
  32.                 } else {
  33.                     campaignActiveFilter('inactive');
  34.                 }
  35.             });
  36.         });
  37.     </script>