Simple quick one, how do i return a value from a jquery function

Posted by Calibre2010 on Stack Overflow See other posts from Stack Overflow or by Calibre2010
Published on 2010-05-20T13:28:02Z Indexed on 2010/05/20 13:30 UTC
Read the original article Hit count: 311

Filed under:
|
|
|

say I have a function

function myFunction(myValue) {

// do something

}

How would I return a value from this, say a string type after the method is executed?

simple, but I cant find a quick neat example online

cheers

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about function