$ajax->link not working in FF3

2 messages Options
Embed this post
Permalink
Duncan

$ajax->link not working in FF3

Reply Threaded More More options
Print post
Permalink
The $ajax->link votes example was not working in FF3 for me. I had to change the code to the following to get it working:

          echo '<li>'.$ajax->link('up', '/comments/vote/up/'.$comment['Comment']['id'],
          array('update' => 'vote_'.$comment['Comment']['id']), null, false).'</li>';
          echo '<li>'.$ajax->link('down', '/comments/vote/down/'.$comment['Comment']['id'],
          array('update' => 'vote_'.$comment['Comment']['id']), null, false).'</li>';

For some reason the li tags in the link title caused the link not to work.
It's working just fine in IE7, but in FF3 the vote links simply ignored any clicks on them.
RaF

Re: $ajax->link not working in FF3

Reply Threaded More More options
Print post
Permalink
You are right. Thank you for your solution, it works.

Kind regards,
Raf