Web Analytics Made Easy -
StatCounter index of arguments (indexOf("#")) - CodingForum

Announcement

Collapse
No announcement yet.

index of arguments (indexOf("#"))

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • index of arguments (indexOf("#"))

    Hello, I am trying to figure out the commonly used functions for image manipulation. I am having a problem with:
    var a = MM_preloadImages.arguments;
    if(a[i].indexOf("#")!=0) /* i is an iterator */

    Is this just returning the index of the string "#", or is there some special function for the symbol "#" ?

    I can supply the whole function if needed.

    Thank you.

  • #2
    It looks for the index position of the string # in the function arguments. I guess that the passed arguments are URLs that may contain the hash symbol #
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      index of arguments (indexOf("#&quot)

      Thank you !
      Have a nice day.

      Comment

      Working...
      X