3 Replies Latest reply on Jun 29, 2006 2:34 AM by BKBK

    cffunction call with a href tag

      I am trying to call a cffunction using a href tag (like a link). The cffunction call shall be done onclick.

      Onclick works fine on links to pages. My problem is that when calling a cffunction with a href tag the function call executes every time and not onclick.

      My code:

      <cfoutput query="ticket">
      <a href=#getVotes(ticket.n11)#> #n11# </a>
      <cffunction name="getVotes">
      <cfargument name="ItemId" required="true">

      Best regards