I am trying to change JavaScript src from a code behind file.
<script type="text/javascript" runat="server" id="srcSurvey" language="JavaScript" src="mypage.asp?p=2"></script>
When I am trying to access the object properties from the code behind file, no src option is available, do I need to put the src file at some other property?

You can’t access the
srcattribute like that. HTML attributes are accessible via the.Attributescollection: