SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2002
    Location
    Mumbai- India
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    populate a layer with image , its name

    Dear All

    Following link opens up a page showdetail.php and display details for id=$_REQUEST['id']

    <a href="showdetail.php?id=<?php $rows['id'];?>">Show Details</a>

    What i want to do ....

    Use jquery ajax so that this page (or contents of the page) will be displayed in a div / layer
    instead of opening up of a page

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    The HTML-People example code from http://bulletproofajax.com/code/ is an excellent example of how it's done.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Tags for this Thread

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
  •