> I'm working on upgrading a calender to AJAX so it is much > snappier, however i'm having trouble getting it to recognise my links. > > I have created this function: > > function loadContent(id) { > $("#imacalendar").load('inc/eventcalendar.php?event_date='+id); > } > > Which is called into use like so: > > <a href="javascript:loadContent(*date*);">
What does the *actual* code look like? Is *date* meant to be a placeholder for your actual date? It's probably a quoting error, but I wouldn't have a clue without seeing the actual code.