i am using asp.net mvc3 and jquery dialogue to open partial view in main view
here is my structure..
partialview 1
<input type="button" onclick="function1();">
partial view 2
<form method="post">
//some elements
@Html.RenderPartial("partialview1");
</form>
view 1
<script src="myscript.js" />
<script src="jquery.js"/>
//some element
<div>
load partialview 2 as jquery dialogue
</div>
myscript.js
function function1()
{
//some code
}
this is just only overview of my application
now in above structure if i click on button in the partialview1 i am getting this error : Microsoft JScript runtime error: Member not found.
function1
, could you post what "some code" actually is? – Catanddog