1 Reply Latest reply on Jul 6, 2016 9:50 AM by kerrishotts

    Empty page after call js function



      When i run ajax call, always i run callback.

      I recive form the ajax content the name of the callback and the parameters.


      The js var of callback function name, named: "callback"

      The js var of callback parameters, named: "data.vars"


      The js call code:

      eval(element + '(data.vars);');


      When i run this code after ajax successed, it work fine.

      But sometimes all html elements disappears, and i see only white screen (the body background color).


      How can i fix this?