Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8701767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:28:51+00:00 2026-06-13T02:28:51+00:00

i have a frame set where i load some pages like Top -> Header

  • 0

i have a frame set where i load some pages like

Top ->   Header
Left ->  Menu
Right -> Data  

but when i try to click on the menu the actual page has to be loaded in right side frame and it is not happening instead it is getting loaded in the left side frame and the menu is moved to right side.

I have given target=”rightSideFrame” but still it is not getting.

i create link for the menu in java code and i use struts1.2.9 frame work

Following is my code snipet :

HTML :

<frameset border="0" frameborder="0" framespacing="0" rows="64,*">
                    <frame border="0" frameborder="0" framespacing="0" id="topFrame" name="topFrame" src="<%=resourcePath%>/common/header.jsp" marginheight="0" marginwidth="0" noresize="noresize" scrolling="no">
                    <frameset border="0" frameborder="0" framespacing="0" id="MainFrameSet" cols="209,*">
                            <frame noresize="noresize" border="0" frameborder="0" framespacing="0" id="leftFrame" name="leftFrame" src="<%=resourcePath%>/common/left_menu.jsp" scrolling="auto">
                            <frame border="0" frameborder="0" framespacing="0" id="workFrame" name="workFrame" src="<%=resourcePath%>/common/WelcomePage.jsp" marginheight="7" marginwidth="7" noresize="noresize" scrolling="auto">
                    </frameset>
            </frameset>

and Menu link:

<a href=\"#\" target=\"workFrame\" onclick=\"getMenuRequest('"+model.getResource_name()+"','goToHome')\">"+model.getMenu_name()+"</a>

UPDATE :

and getmenuRequest

function getMenuRequest(actionName,methodName){
                       document.forms[0].action=actionName+".htm";
                       document.forms[0].method.value=methodName;
                       document.forms[0].submit();
                   }

Please help me to resolve this,

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:28:52+00:00Added an answer on June 13, 2026 at 2:28 am

    The trouble is that the target property of your link is ignored as the javascript is submitting the form, you’d have to modify your getMenuRequest method to set the form target:

    function getMenuRequest(actionName,methodName){
        document.forms[0].action=actionName+".htm";
        document.forms[0].method.value=methodName;
        document.forms[0].target='workFrame';
        document.forms[0].submit();
    }
    

    There is one caveat though, if you submit the form later on other requests, it would still have a target of workFrame, and may then target the wrong frame…

    N.B. I haven’t tried this…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data frame where one particular column has a set of specific
I have data frame with some numerical variables and some categorical factor variables. The
I have an app which has to load some data at startup, so I
I have some data being loaded from a server, but there's no guarantee that
I have Apache set up through xampp to test a webpage to load some
I have one frame in which one TestArea is there. When I append some
I have a CSV of file of data that I can load in R
I have a data.frame in R. It contains a lot of data : gene
I have a UIWebView class that is added to each storyboard on load, but
I'm familiar with the R data holders like vectors, dataframe, etc. but need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.