I have two frames in a document.
frame 1 has a save button.
frame 2 have a form and other objects to collect user registration.
so with above things,how can i validate for a mandatory field in frame2 when user clicks a save button in a frame 1?
i have written a function in frame 2 for validating the field and i am calling it from frame1 onclick of save button.the problem here is i am able to get the alert message when field is null but the focus is going there.so pls can any of give some valuable suggestions or pls give some links who have already used such things in their web sites.or pls give me a pieace of code.