SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    new Ajax.updater link

    Hi,

    I have a link that should open a page into another div with id=projects but it doesn't. The link is written using some php...

    Code:
    <a href="#" onclick="new Ajax.Updater('projects','projects.php?page=project-detail&prId=<?php printf("%s", $row['pr_id']); ?>',{asynchronous:true, evalScripts:true});"><?php printf("%s", $row['pr_name']); ?></a>
    What am i doing wrong?

  2. #2
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forgot to mention that i am using prototype of course


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •