Results 1 to 5 of 5

Thread: how to display image in html table uisng jquery

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    how to display image in html table uisng jquery

    i have following line of code along with gif image ..it showing all database driven data but not image

    any help

    Code:
     for (var i = 0; i < data.d.length; i++) {
     
     $("#tbl").append("<tr  bgcolor= lightblue><td>" + (data.d[i].CustomerID) + "</td><td>" + (data.d[i].CompanyName) + "</td>" + "<td> <img  src=" +  "'" + "detail.gif" +"'" + "height=20 width=20>  </td>" +  "</tr>");
    Last edited by ERUM; Apr 27th, 2013 at 11:28 PM. Reason: spelling mistake
    There is no achievement without goals

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width