JSON+thickbox

JSON+thickbox

bruckenbrucken Posts: 6Questions: 0Answers: 0
edited September 2010 in General
Hello,

I'm using DataTables in an application where I also use thickbox.
The problem i'm facing now is that I can't open a thickbox from within my datatable if I use json.
Does anybody else has experience with this?

Regards,
Kevin

Replies

  • bruckenbrucken Posts: 6Questions: 0Answers: 0
    Nobody who can help me?
  • bruckenbrucken Posts: 6Questions: 0Answers: 0
    Here is my current code

    $sOutput .= ''.json_encode("".$aRow[number]."").',';
  • bruckenbrucken Posts: 6Questions: 0Answers: 0
    Fixed it myself
  • kannapiran1986kannapiran1986 Posts: 3Questions: 0Answers: 0
    Can you give the solution for using thickbox in json??
  • kannapiran1986kannapiran1986 Posts: 3Questions: 0Answers: 0
    [code]$sOutput .= '"Edit",';[/code]

    This is my code. But my thickbox is not loading. The url opening separately. Please help me from this..
  • bruckenbrucken Posts: 6Questions: 0Answers: 0
    You have to use the thickbox hack and open the link with

    I will send you the solution tomorrow. I'm not home at the moment.
  • kannapiran1986kannapiran1986 Posts: 3Questions: 0Answers: 0
    Yes thanks, Waiting for your solution....
  • bruckenbrucken Posts: 6Questions: 0Answers: 0
    Hello

    First update your thickbox code with instructions on following site:
    [code]http://blogs.digitss.com/technology/hacking-jquery-thickbox/[/code]

    Then you can open your thickbox with following code:
    [code] $sOutput .= ''.json_encode("".$aRow['id']."").','; [/code]

    Regards,
    Brucken
  • kungfuafricankungfuafrican Posts: 4Questions: 0Answers: 0
    edited January 2011
    .
This discussion has been closed.