I have a function like this
<script type="text/javascript">
function result()
{
return "string";
}
</script>
I need to get this string value in to var
var gotresult= ???? how to get here that result value
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Fix your HTML to use the correctish MIME type (text/javascript), spell
returnandfunction(thanks Rob) correctly then just replace your question marks withresult().