javascript funtion to catch return value
- by kumar
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