How do I pass parameters with commas from krpano plugin to js?

  • I have a plugin which I want to communicate with javascript using

    Code
    krpano.call("js(param1, param2)");

    However, the param data has commas. Apparently, when krpano parses the string to find the call method and parameters, it splits the parameters on my commas. Is there a way to escape the parameters? I tried putting single quotes around the parameters, but that did not work. I am using 1.0.7.

    Edited once, last by kyle (August 20, 2009 at 3:48 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!