1

I found the same question in stackoverflow forum, but they decided not to help me.

I'm using that code:

<script type="text/javascript">
    var testVar = '<%=Model.testProperty %>';

Then I paste testVar into alert() method and see only '<%=Model.testProperty %>' as text, but I need access to Model.testProperty value. Help me please

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.