There is one startframe() function which evaluates the frame accessibility errors.

I want to apply this startframe function to the frame content.
by pointing the mouse pointer on the submitt button the website is get open in the frame
then how do i call this startframe function into the frame so that it can evaluate the website errors which recentaly open in frame?
the sample code is as below