Jump to content

Filter Table not working


ruks

Recommended Posts

Hi,

 

I found this code - http://leparlement.org/filterTable and applied to my website - http://www.callnorthwest.org.uk/services/job.php

 

The box appears and all but doesn't filter - no yellow hilight like shown in the example

 

here is my code

 

<table class="filterable" width="100%" border="1">

<thead><br />

<tr>

<th width="41%"><span style="width: 42%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Title</span></span></th>

<th width="22%"><span style="width: 25%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Company</span></span></th>

<th width="18%"><span style="width: 16%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Date Posted</span></span></th>

<th width="19%"><span style="width: 22%"><span style="font-size: 14px; color: #5e4084; font-family: Arial">Closing Date</span></a></span></th></tr></thead>

<tbody>

<tr>

<td style="font-size: 12px; color: #999999"><a title="" style="color: #5e4084" href="http://www.jdwilliamsgroup.jobs/" onclick="window.open(this.getAttribute('href'),'');return false;">Sales Team Manager</a></td>

<td style="font-size: 12px; color: #5e4084">JD Williams </td>

<td style="font-size: 12px; color: #5e4084">18/05/2010</td>

<td style="font-size: 12px; color: #5e4084">28/05/2010</td></tr>

<tr>

<td style="font-size: 12px; color: #999999"><a title="" style="color: #5e4084" href="http://www.jdwilliamsgroup.jobs/" onclick="window.open(this.getAttribute('href'),'');return false;">Equiries Avisor (Call Centre Agents)</a></td>

<td style="font-size: 12px; color: #5e4084">JD Williams </td>

<td style="font-size: 12px; color: #5e4084">18/05/2010</td>

<td style="font-size: 12px; color: #5e4084">8/06/2010</td></tr></tbody></table><br />

 

 

It use to work but now it stop and im not sure

 

hope anyone can help

 

thanks

 

Link to comment
Share on other sites

I have done that but still don't work - the weired part is that it use to work before

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="verify-v1" content="bIdVWe5QRe9G+yfjsnRSHE1LXSGzCipGHQ/S1pBzsSw=" >

<meta name="description" content="The Leading Support Organisation for North West Contact Centres">

<meta name="keywords" content="CallNorthWest, Call North West, Call Centre, Contact Centre, Call Centre Support, Contact Centre Support, Call Centre Help, Contact Centre Help, Call Centre North West, Contact Centre North West, Call Centre Events, Contact Centre Events, CallNorthWest Awards, Membership, Online Forum">

<title>Untitled Document</title>

<style>

.highlighted { background: yellow; }

th{cursor: pointer; }

.text {

font-family: Arial, Helvetica, sans-serif;

color: #5e4084;

font-weight: bold;

}

 

#payment {display: none;}

-->

</style>

 

<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>

<script type="text/javascript">

$(document).ready(function(){

$('#check51').click(function(){

checkedValue = this.value;

if (checkedValue == 'on'){

$('#payment').fadeIn('slow');

} else {

$('#payment').hide();

}

});

});

</script>

<script type="text/javascript"

src="filterTable.js"></script>

    <script type="text/javascript" src="sortable.js"></script>

</head>

Link to comment
Share on other sites

Chrome barks at:

 

document.images.slide.src=imageholder[whichimage].src

 

Check into this.  If you have one JavaScript error, it often brings down all of your JavaScript.

 

Im confused what im doing with the above code!!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.