can t use function return value in write context

can t use function return value in write context

Justine Kurland
Almost tolerable banality...
St. Therese of Lisieux Little Flower

Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5 , Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R ), Opera/Konqueror: press F5 , Safari: press Cmd-Opt-E .

                
                  /** * jQuery 1.2.1 - New Wave Javascript * * Copyright (c) 2007 John Resig (jquery.com) * Dual licensed under the MIT and GPL licenses. */
                
                
                  (
                
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                
                  typeof
                
                jQuery!=
                
                  "undefined"
                
                
                  )
                
                
                  var
                
                _jQuery=jQuery;var jQuery=window.
                
                  jQuery
                
                =
                
                  function
                
                
                  (
                
                selector,context
                
                  )
                
                
                  {
                
                
                  return
                
                
                  this
                
                
                  instanceof
                
                jQuery?
                
                  this
                
                .
                
                  init
                
                
                  (
                
                selector,context
                
                  )
                
                :
                
                  new
                
                jQuery
                
                  (
                
                selector,context
                
                  )
                
                ;
                
                  }
                
                ;if
                
                  (
                
                
                  typeof
                
                $!=
                
                  "undefined"
                
                
                  )
                
                
                  var
                
                _$=$;window.$=jQuery;var quickExpr=
                
                  /^
                  
                    [
                  
                  ^<
                  
                    ]
                  
                  *
                  
                    (
                  
                  <
                  
                    (
                  
                  .|\s
                  
                    )
                  
                  +>
                  
                    )
                  
                  
                    [
                  
                  ^>
                  
                    ]
                  
                  *$|^#
                  
                    (
                  
                  \w+
                  
                    )
                  
                  $/
                
                ;jQuery.
                
                  fn
                
                =jQuery.
                
                  prototype
                
                =
                
                  {
                
                init:
                
                  function
                
                
                  (
                
                selector,context
                
                  )
                
                
                  {
                
                selector=selector||document;if
                
                  (
                
                
                  typeof
                
                selector==
                
                  "string"
                
                
                  )
                
                
                  {
                
                
                  var
                
                m=quickExpr.
                
                  exec
                
                
                  (
                
                selector
                
                  )
                
                ;if
                
                  (
                
                m&&
                
                  (
                
                m
                
                  [
                
                
                  1
                
                
                  ]
                
                ||!context
                
                  )
                
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                m
                
                  [
                
                
                  1
                
                
                  ]
                
                
                  )
                
                selector=jQuery.
                
                  clean
                
                
                  (
                
                
                  [
                
                m
                
                  [
                
                
                  1
                
                
                  ]
                
                
                  ]
                
                ,context
                
                  )
                
                ;else
                
                  {
                
                
                  var
                
                tmp=document.
                
                  getElementById
                
                
                  (
                
                m
                
                  [
                
                
                  3
                
                
                  ]
                
                
                  )
                
                ;if
                
                  (
                
                tmp
                
                  )
                
                
                  if
                
                
                  (
                
                tmp.
                
                  id
                
                !=m
                
                  [
                
                
                  3
                
                
                  ]
                
                
                  )
                
                
                  return
                
                jQuery
                
                  (
                
                
                  )
                
                .
                
                  find
                
                
                  (
                
                selector
                
                  )
                
                ;else
                
                  {
                
                
                  this
                
                
                  [
                
                
                  0
                
                
                  ]
                
                =tmp;this.
                
                  length
                
                =
                
                  1
                
                ;return
                
                  this
                
                ;
                
                  }
                
                
                  else
                
                selector=
                
                  [
                
                
                  ]
                
                ;
                
                  }
                
                
                  }
                
                
                  else
                
                
                  return
                
                
                  new
                
                jQuery
                
                  (
                
                context
                
                  )
                
                .
                
                  find
                
                
                  (
                
                selector
                
                  )
                
                ;
                
                  }
                
                
                  else
                
                
                  if
                
                
                  (
                
                jQuery.
                
                  isFunction
                
                
                  (
                
                selector
                
                  )
                
                
                  )
                
                
                  return
                
                
                  new
                
                jQuery
                
                  (
                
                document
                
                  )
                
                
                  [
                
                jQuery.
                
                  fn
                
                .
                
                  ready
                
                ?
                
                  "ready"
                
                :
                
                  "load"
                
                
                  ]
                
                
                  (
                
                selector
                
                  )
                
                ;return
                
                  this
                
                .
                
                  setArray
                
                
                  (
                
                selector.
                
                  constructor
                
                ==Array&&selector||
                
                  (
                
                selector.
                
                  jquery
                
                ||selector.
                
                  length
                
                &&selector!=window&&!selector.
                
                  nodeType
                
                &&selector
                
                  [
                
                
                  0
                
                
                  ]
                
                !=undefined&&selector
                
                  [
                
                
                  0
                
                
                  ]
                
                .
                
                  nodeType
                
                
                  )
                
                &&jQuery.
                
                  makeArray
                
                
                  (
                
                selector
                
                  )
                
                ||
                
                  [
                
                selector
                
                  ]
                
                
                  )
                
                ;
                
                  }
                
                ,jquery:
                
                  "1.2.1"
                
                ,size:
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                
                  return
                
                
                  this
                
                .
                
                  length
                
                ;
                
                  }
                
                ,length:
                
                  0
                
                ,get:
                
                  function
                
                
                  (
                
                num
                
                  )
                
                
                  {
                
                
                  return
                
                num==undefined?jQuery.
                
                  makeArray
                
                
                  (
                
                
                  this
                
                
                  )
                
                :
                
                  this
                
                
                  [
                
                num
                
                  ]
                
                ;
                
                  }
                
                ,pushStack:
                
                  function
                
                
                  (
                
                a
                
                  )
                
                
                  {
                
                
                  var
                
                ret=jQuery
                
                  (
                
                a
                
                  )
                
                ;ret.
                
                  prevObject
                
                =
                
                  this
                
                ;return ret;
                
                  }
                
                ,setArray:
                
                  function
                
                
                  (
                
                a
                
                  )
                
                
                  {
                
                
                  this
                
                .
                
                  length
                
                =
                
                  0
                
                ;Array.
                
                  prototype
                
                .
                
                  push
                
                .
                
                  apply
                
                
                  (
                
                
                  this
                
                ,a
                
                  )
                
                ;return
                
                  this
                
                ;
                
                  }
                
                ,each:
                
                  function
                
                
                  (
                
                fn,args
                
                  )
                
                
                  {
                
                
                  return
                
                jQuery.
                
                  each
                
                
                  (
                
                
                  this
                
                ,fn,args
                
                  )
                
                ;
                
                  }
                
                ,index:
                
                  function
                
                
                  (
                
                obj
                
                  )
                
                
                  {
                
                
                  var
                
                pos=
                
                  -1
                
                ;this.
                
                  each
                
                
                  (
                
                
                  function
                
                
                  (
                
                i
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                
                  this
                
                ==obj
                
                  )
                
                pos=i;
                
                  }
                
                
                  )
                
                ;return pos;
                
                  }
                
                ,attr:
                
                  function
                
                
                  (
                
                key,value,type
                
                  )
                
                
                  {
                
                
                  var
                
                obj=key;if
                
                  (
                
                key.
                
                  constructor
                
                ==String
                
                  )
                
                
                  if
                
                
                  (
                
                value==undefined
                
                  )
                
                
                  return
                
                
                  this
                
                .
                
                  length
                
                &&jQuery
                
                  [
                
                type||
                
                  "attr"
                
                
                  ]
                
                
                  (
                
                
                  this
                
                
                  [
                
                
                  0
                
                
                  ]
                
                ,key
                
                  )
                
                ||undefined;else
                
                  {
                
                obj=
                
                  {
                
                
                  }
                
                ;obj
                
                  [
                
                key
                
                  ]
                
                =value;
                
                  }
                
                
                  return
                
                
                  this
                
                .
                
                  each
                
                
                  (
                
                
                  function
                
                
                  (
                
                index
                
                  )
                
                
                  {
                
                
                  for
                
                
                  (
                
                
                  var
                
                prop
                
                  in
                
                obj
                
                  )
                
                jQuery.
                
                  attr
                
                
                  (
                
                type?
                
                  this
                
                .
                
                  style
                
                :
                
                  this
                
                ,prop,jQuery.
                
                  prop
                
                
                  (
                
                
                  this
                
                ,obj
                
                  [
                
                prop
                
                  ]
                
                ,type,index,prop
                
                  )
                
                
                  )
                
                ;
                
                  }
                
                
                  )
                
                ;
                
                  }
                
                ,css:
                
                  function
                
                
                  (
                
                key,value
                
                  )
                
                
                  {
                
                
                  return
                
                
                  this
                
                .
                
                  attr
                
                
                  (
                
                key,value,
                
                  "curCSS"
                
                
                  )
                
                ;
                
                  }
                
                ,text:
                
                  function
                
                
                  (
                
                e
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                
                  typeof
                
                e!=
                
                  "object"
                
                &&e!=
                
                  null
                
                
                  )
                
                
                  return
                
                
                  this
                
                .
                
                  empty
                
                
                  (
                
                
                  )
                
                .
                
                  append
                
                
                  (
                
                document.
                
                  createTextNode
                
                
                  (
                
                e
                
                  )
                
                
                  )
                
                ;var t=
                
                  ""
                
                ;jQuery.
                
                  each
                
                
                  (
                
                e||this,
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                jQuery.
                
                  each
                
                
                  (
                
                
                  this
                
                .
                
                  childNodes
                
                ,
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                
                  this
                
                .
                
                  nodeType
                
                !=
                
                  8
                
                
                  )
                
                t+=
                
                  this
                
                .
                
                  nodeType
                
                !=
                
                  1
                
                ?
                
                  this
                
                .
                
                  nodeValue
                
                :jQuery.
                
                  fn
                
                .
                
                  text
                
                
                  (
                
                
                  [
                
                
                  this
                
                
                  ]
                
                
                  )
                
                ;
                
                  }
                
                
                  )
                
                ;
                
                  }
                
                
                  )
                
                ;return t;
                
                  }
                
                ,wrapAll:
                
                  function
                
                
                  (
                
                html
                
                  )
                
                
                  {
                
                
                  if
                
                
                  (
                
                
                  this
                
                
                  [
                
                
                  0
                
                
                  ]
                
                
                  )
                
                jQuery
                
                  (
                
                html,
                
                  this
                
                
                  [
                
                
                  0
                
                
                  ]
                
                .
                
                  ownerDocument
                
                
                  )
                
                .
                
                  clone
                
                
                  (
                
                
                  )
                
                .
                
                  insertBefore
                
                
                  (
                
                
                  this
                
                
                  [
                
                
                  0
                
                
                  ]
                
                
                  )
                
                .
                
                  map
                
                
                  (
                
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                
                  var
                
                elem=
                
                  this
                
                ;while
                
                  (
                
                elem.
                
                  firstChild
                
                
                  )
                
                elem=elem.
                
                  firstChild
                
                ;return elem;
                
                  }
                
                
                  )
                
                .
                
                  append
                
                
                  (
                
                
                  this
                
                
                  )
                
                ;return
                
                  this
                
                ;
                
                  }
                
                ,wrapInner:
                
                  function
                
                
                  (
                
                html
                
                  )
                
                
                  {
                
                
                  return
                
                
                  this
                
                .
                
                  each
                
                
                  (
                
                
                  function
                
                
                  (
                
                
                  )
                
                
                  {
                
                jQuery
                
                  (
                
                
                  this
                
                
                  )
                
                .
                
                  contents
                
              

latest news

Change starts at home (Mail and Guardian)
I was a member of the Forum of Black Journalists (FBJ) at its inception at the turn of the century, until I took my friend Ann Eveleth along to an all-black function. My abiding belief is that journalists occupy an open, easy-going society so thought it would be no hassle.

The Federal Reserve's rescue has failed (Daily Telegraph)
The verdict is in. The Fed's emergency rate cuts in January have failed to halt the downward spiral towards a full-blown debt deflation. Much more drastic action will be needed.

Build a Super Simple Tasker (Embedded Systems Programming Magazine)
Almost all embedded systems are event-driven; most of the time they wait for some event such as a time tick, a button press, a mouse click, or the arrival of a data packet. After recognizing the event, the systems react by performing the appropriate computation.

The moviegoer (Creative Loafing Atlanta)
Robert Osborne, who hosts this month's '31 Days of Oscar' on Turner Classic Movies, represents the history of Hollywood. Up next: A new management team tries to shape the future of the Atlanta-based network.... By David Lee Simmons."I'm gonna do this again." Robert Osborne, the 75-year-old host of Turner Classic Movies, takes a few steps back on the living-room set of Studio C, nestled inside ...

Rail Budget speech (rediff.com)
Union Railway Minsiter Lalu Prasad introduced the Railway Budget 2008-2009 in Lok Sabha on Tuesday.