Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18638

Re: Convert anonymous function to namned function

Message-ID <2194862.j0WM3GWH8U@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-02-26 12:08 +0100
Subject Re: Convert anonymous function to namned function
Newsgroups comp.lang.javascript
References <kghtu0$kdo$1@dont-email.me> <kghv7t$qkc$1@dont-email.me>

Show all headers | View raw


Gregor Kofler wrote:

> Am 2013-02-26 10:07, schrieb Tony:
>> Here I have an anonymous function which is working
>> $('#meetings').dblclick(function (e)
>>        {
>>           //Code to be moved to a named function
>>           alert("testing");
>>        });
>>
>> and here I have tried to use a named function called Foo in this way but
>> it's not working
> 
> Let me guess: You get an alert "when running", then "never again"?
> Hopeless.

Do you realize that he is continuing to post that way as long as someone is 
(spoon-)feeding him?

<http://www.catb.org/~esr/faqs/smart-questions.html>

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Convert anonymous function to namned function "Tony" <tony.johansson@inport.com> - 2013-02-26 10:07 +0100
  Re: Convert anonymous function to namned function Gregor Kofler <usenet@gregorkofler.com> - 2013-02-26 10:29 +0100
    Re: Convert anonymous function to namned function "Tony" <tony.johansson@inport.com> - 2013-02-26 10:38 +0100
    Re: Convert anonymous function to namned function "Tony" <tony.johansson@inport.com> - 2013-02-26 10:42 +0100
    Re: Convert anonymous function to namned function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-26 12:08 +0100

csiph-web