dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: missing } after property list

  1. #1
    Join Date
    Jan 2010
    Posts
    38

    missing } after property list

    hi please help to find this error please

    $(function() {
    $(".clickcal2").editable("ajax.php", {
    indicator : "<img src='../images/indicator.gif'>",
    tooltip : "Click to edit...",
    style : "inherit",
    type : "select",

    data : " {<?php
    $sql="select adminid,name from admin where status='active' ";
    $result=mysql_query($sql) or die(mysql_error());
    while($row=mysql_fetch_array($result)){
    echo $row['name'];

    ?>:<?php echo json_encode($row['name']); ?>,<?php } ?>}",

    submit : "OK",
    cancel : "Cancel"
    });

    });

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    You'll have to show the generated source code for us to be sure. Load the page, and view the source, and copy the code, changing names or information if necessary.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles