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

  • Home
  • SEARCH
  • 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 9175855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:59:03+00:00 2026-06-17T16:59:03+00:00

I have a problem in writing a jsp. My scenario is when i click

  • 0

I have a problem in writing a jsp. My scenario is when i click a button (which is in the table cell) the page must go to register.jsp in right frame(there are two frames and this button is also in second frame)
I am not able to get it. Please help me.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
    <script type="text/javascript">

    function addRow(tableID) { 
        var table = document.getElementById(tableID);
        var rowCount = table.rows.length;
        var row = table.insertRow(rowCount);


        var cell4 = row.insertCell(4);
        var element4 = document.createElement("input");
        element4.type = "button";
        element4.value = "Edit";    
        element4.name = "e5[]";
        element4.attachEvent('onclick',Hi);
        cell4.appendChild(element4);

    }

    function Hi()
    {

        document.write('<a target="two" href="register.jsp"/>');


    }
    </script>
</html>
  • 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-17T16:59:04+00:00Added an answer on June 17, 2026 at 4:59 pm

    you mean:

    function Hi() {
      window.location.href = "register.jsp";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem that output string must be utf8-formatted, I am writing currently
i have problem with file writing. I want to create OnClick method of button
I have problem with writing csv file using fputcsv. Its putting the page html
i have a problem writing a valid XSD which describes a potential null-value for
I have a problem with writing a catch clause for an exception that is
I'm writing chat client/server app with c# and I have problem with threading. I
I have problem concerning python packages and testing. I'm writing an application using wx
I'm writing an app in Visual Studio C++ and I have problem with assigning
I have a problem with regards to writing the correct regex for the examination
I have a problem with an integration test I am writing. I 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.