Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • All arrays in Javascript are associative. In fact, every object is an array and every array is an object. Methods are just array elements.

    foo.bar and foo["bar"] are the same thing. foo.0 or foo[0] is also the same thing, if bar is foo's first element.

    Consider: vorwahl = { NL: "+31", BE: "+32", US: "+1", ... };
    • var current = document.seas.staat.selectedIndex;
      var select  = document.seas.staat.options;
      var land    = select[current].value;

      Surely this a a lot more simple that having some external way of doing things?

      --
      -Scott McWhirter- | -kungfuftr-
      "JAWK - Just Another Whiny Kid"