JSON response returning HTML, custom Functionality on the returned button through JSon by calling

JSON response returning HTML, custom Functionality on the returned button through JSon by calling

thenewerthenewer Posts: 11Questions: 0Answers: 0
edited February 2012 in DataTables 1.8
JSON response returning HTML, custom Functionality on the returned button through JSon by calling custom jquery Event defined in my Page

I am using datatables and my JSOn respons is rendered correctly, escaping all the characters which could break it, now i have a doubt here, my buttons are actually not working when i clik on them

Here is my JSON response

[code]
{"sEcho":1, "iTotalRecords": 16, "iTotalDisplayRecords": 16, "aaData": [ [ "

4

" , "postedData" , "123456@domain.com" , "

Yes

" , "2012-02-24 08:38:48.0" , "user" , "

Yes

" ] , [ "

5

" , "Small" , "123456@domain.com" , "

Yes

" , "2012-02-24 08:42:24.0" , "user" , "

Yes

" ] , [ "

6

" , "confused" , "dfdfdf@domain.com" , "

Yes

" , "2012-02-24 08:43:41.0" , "user" , "

Yes

" ] , [ "

7

" , "confused" , "dfdf@domain.com" , "

No

" , "2012-02-24 08:43:47.0" , "user" , "

No

" ] , [ "

8

" , "test" , "test@test.com" , "

No

" , "2012-02-24 08:44:39.0" , "user" , "

No

" ] , [ "

9

" , "test5" , "test5@domain.com" , "

No

" , "2012-02-27 02:02:56.0" , "user" , "

No

" ] , [ "

10

" , "test25" , "test@domain.com" , "

yes

" , "2012-02-27 03:25:16.0" , "user" , "

yes

" ] , [ "

11

" , "postedDatapostedData" , "grgr@wll.com" , "

Yes

" , "2012-02-27 05:36:27.0" , "user" , "

Yes

" ] , [ "

12

" , "" , "" , "

Yes

" , "2012-02-27 06:06:45.0" , "user" , "

Yes

" ] , [ "

13

" , "fdgdfgertert" , "123456@domain.com" , "

yes

" , "2012-02-27 10:34:28.0" , "user" , "

yes

" ] ]}

[/code]

now when i click the call, that i have defined in my parent file from where the sAjaxSource is used,

it says call() is undefined

while i have written the code for that call function,

why this is happening

weird
This discussion has been closed.