jsp + frames
Hello
Can anyone please suggest me the solution to this
I have 3 frames in one jsp.
One frame comprises of radio buttons fields
Second frame contains one submit button
Third frame contains table in the form of grid
I want after pressing one radio button, when user presses submit button , data should get displayed in table
How can I do this or I can do this some other way around
Any suggestions厖厖厖?
It can be done like this, but it sounds ugly to me.
The form with the radio buttons needs to have a "target" specifying the resultsFrame.
ie
<form target="resultFrame">
<input type="radio">
...
</form>
The button needs to run javascript to submit the form in frame 1.
<input type="button" onclick="submitFormInOtherFrame()">
With cross-frame scripting I prefer to call functions/methods as opposed to directly reaching into the inner guts of a page and tweaking it. But that might just be me.
Hi,first u should have an table with values corresponding to the radio buttons, and when u press the submit button, the values should be populated in the table form (3rd form of ur JSP).for that the name of the fields in the table should be used with the "select" query.