It is probably my fault, but I can't seem to get the script to work properly. Look here and you'll see that the script is being called properly, but it is not working: http://jagst3r15.com/scholarships360/table-of-scholarships/ I am using WordPress and am using this code:
to make my table. Is the problem because I am using php within the table? I am not good enough with JS or JQuery to figure this out so any help is appreciated!
Thanks,
James
<table id="example"> <thead> <tr> <th>Scholarship</th> <th>Amount</th> <th>Ending</th> </tr> </thead> <?php $posts = get_posts('category=6&numberposts=25'); foreach($posts as $post) { $title = get_the_title();?> <tbody> <tr> <td><a href="<?php the_permalink(); ?>" target="_parent"><?php echo ($title); ?></a></td> <td><?php $amount = get_post_meta($post->ID, 'Amount', true); ?><?php echo $amount; ?></td> <td><?php $test = get_post_meta($post->ID, 'Test', true); ?><?php echo $test; ?></td> </tr> </tbody> <?php } ?> </table>
to make my table. Is the problem because I am using php within the table? I am not good enough with JS or JQuery to figure this out so any help is appreciated!
Thanks,
James