<a href="javascript:loadContent('2008-5');"><</a>
-- Ariel Flesler http://flesler.blogspot.com On 22 jun, 09:41, Hinch <[EMAIL PROTECTED]> wrote: > Yes *date* is a stand in, so the code would be: > > <script type="text/javascript"? > function loadContent(id) { > $("#imacalendar").load('inc/eventcalendar.php?event_date='+id); > } > </script> > > Then in the body: > > <a href="javascript:loadContent(2008-5);"><</a> > > Like I say, it works if I make the function non-dynamic, it's just the > 'id' is being lost somehow.