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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:50:49+00:00 2026-05-18T09:50:49+00:00

I basically have a webpage with two frames. -Left for nav -Right for main

  • 0

I basically have a webpage with two frames.

-Left for nav
-Right for main content. I have a text-box here called "file_path"

Currently, I have a list of files on the left hand side that I am displaying as anchors. I want the functionality that if the user clicks a file on the left hand frame, I can grab the value and put it in the text-box on the right hand frame. I able to do this successfully, but the problem is that after getting the value in the right frame, my left-frame opens the file in that section … I want to prevent the file from being open. I only want it to pass the value there.

echo "<li><a href=\".$filepath.\" onClick=\"parent.right.document.getElementById('file_path').value='$filepath'\">$filepath</a></li>";

I tried merely putting the onClick for the list item, but this way I loose functionality, so that the user feels that the link is clickable. It just appears as static text … I’d rather have the cursor change when the user goes on it like an anchor tag, but just not open the file … Is this possible?

echo "<li onClick=\"parent.right.document.getElementById('file_path').value='$filepath'\">$filepath</li>";
  • 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-18T09:50:49+00:00Added an answer on May 18, 2026 at 9:50 am

    just put <a style="cursor:pointer" onclick="...">bla bla bla</a>

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

Sidebar

Related Questions

I have some localization problems in my webpage. There are basically two problems (that
Basically I have a column called ispushed. Whenever a button on the webpage is
Basically i have a webpage with embedded css and JavaScript, so what i want
Basically, I have this webpage that is the header on any page you go
I have webpage I downloaded with C++ to a string, and it is basically
I have a webpage which is basically a countdown timer. The initial value of
I have a webpage in which I am using 2 jsp:include directives. Basically one
Right now I have a webpage set up to be exactly the size of
I have a webpage that contains a form with several text fields and an
Basically I have a HTML option box written like so: <span>Design </span><select name=style> <option

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.