javascript funtion to catch return value

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-04-28T21:23:05Z Indexed on 2010/04/28 21:27 UTC
Read the original article Hit count: 158

Filed under:

hi,

I have a funtion like this

<script type="text/javascript">
funtion result()
{
   return "string";
}
</script>

I need to get this string value in to var

var gotresult= ???? how to get here that result value

© Stack Overflow or respective owner

Related posts about JavaScript