Can we get the reference of a form in the page
Lets say I have a form

HTML Code:
<form method="post" name="form" onsubmit="return dosomething.Submit();">

//do something

<div id="sometext" >  </div>
In the div I am writing a formpanel which has a submit button which opens a new window.
Now when you do some action in the window and submit is there a way I can submit my form.
Is there a way in EXTJS to do that?

Please advise