in reply to Re^3: CGI/OpenThought array/hash handling
in thread CGI/OpenThought array/hash handling

So is it a perl question or a javascript question? I see no share variable in the javascript. You attempt to retrieve some @share in your perl program, but that can't be what you're talking about
  • Comment on Re^4: CGI/OpenThought array/hash handling

Replies are listed 'Best First'.
Re^5: CGI/OpenThought array/hash handling
by ksublondie (Friar) on Jan 03, 2011 at 16:09 UTC
    I'm not sure if my problem is in the javascript or the perl. Currently, I'm passing "Share*" via an array in CallUrl() (according to OpenThought documentation, I should be able to use a * wildcard), but I've also tried passing "Share". Either way, when I try to retrieve it at the server, I'm not getting any data. So I'm not sure if my problem is the javascript code, my html tags, or my perl script.

    Sorry if my explanation isn't clear. Perhaps I've been too close to this problem for too long, but I thought the code itself was clear.

    I've been able to retrieve all my parameters just fine except now I'm wanting to retrieve an array of my multiple "Share" inputs.

      To see what gets sent and received, for javascript, turn on debugging log_level = "debug"; and watch the debug window in the browser

      For perl, use $q->Dump or use Data::Dumper;warn Dumper($q); and watch the log (or wherever you print to)