I still need to settle down how to run external js in the innerhtml.
as i plan to use ajax to load data to innerhtml, but if do a simple display. it is fine.
but if i want to have datatables to do any extra work, i will make datatables's scripts excute inside the innerhtml.
It seems it is more complicated for me .
cheers