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 6123653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:02:31+00:00 2026-05-23T16:02:31+00:00

I am using 3 frames in a jsp, one frame contains links for transactions.

  • 0

I am using 3 frames in a jsp, one frame contains links for transactions. If one clicks on the link, I need to display 2 xmls (as Strings) in respective frames.

<display:table name="sessionScope.transactions" id="tTable">
  <display:column title="Transaction Id">
  <a href="javascript:somejavascript('<bean:write name='tTable'        
  property='requestXML' />','<bean:write name='tTable' property='responseXML' />');">

  <bean:write name='tranTable' property='transactionId' />

 </a>
</display:column>*

I want to bring evrything altogether while bringing links and when one clicks on the link I want to pass those xmls as String in javascript function and dispaly it in frames.

somejavascript(req, resp){
  parent.frame2.location.href = req;
  parent.frame3.location.href = resp;
}

But I came to know that I cannot pass large data in javascript function , it breaks some javascript rule. Is there any workaround to this problem?

  • 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-05-23T16:02:31+00:00Added an answer on May 23, 2026 at 4:02 pm

    You should balance your quotes and escape inner quotes.

    http://jsfiddle.net/9qdkc/

    Overall, your approach is inappropriate. Avoid using javascript: links.


    How to improve?

    Present the data you want to pass into a JavaScript function as a separate node and assign a unique ID to this node.

    Then add an attribute with this ID to the link node.

    Now, iterate over all such links in your separate JavaScript file and add click event listeners to them.

    In the handler of these listeners analyze the ID attribute of the clicked link and traverse the document using DOM/E4X to find the node with the corresponding ID.

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

Sidebar

Related Questions

I'm using frames. My logo frame contains 2 pictures. One is 150px and other
I'm looking for a solution to display successive frames in one window using OpenCV.
I'm using a WriteableBitmap to display images I process myself at around 20 frames
I have a legacy website using frames. The pages within the frame do not
I am using the following code to force removal of surrounding frames on page
I having trouble in dividing the HTML frames. I have been using the following
I'm trying to play only part of a sound using FMOD, say frames 50000-100000
i am using compact frame work for my windows mobile application in which i
Is there a way to break out of a frame using PHP? I have
GCC compiles (using gcc --omit-frame-pointer -s ): int the_answer() { return 42; } into

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.