473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

how to send the values to textarea or any input type with "id" in other frame

28
how can i get a functionality of drag and drop of text from one frame to other frame
or even on double click as that of selecting files in a nero burner before we burn a CD.
Nov 4 '06 #1
2 1574
ramapv
28
we have two frames in which one has elements already existand other are the elements selected from these.

so we mentioned the existing elements as hyper links and added there value on double click to another frame as a selected element.using

<a style="text-decoration:none" href="#" onDblClick="top.select.document.writeln('<%=c.getS tring(1)%><br>');">

but for further proceeding i need these values . Is there any way for retrieving those values
( or )
Is there a way to write to any elements like textarea or div or something else in another frame so that by using there id i can refer the value added.Plz suggest me.
Nov 6 '06 #2
why dont you give an id for the <a> tag and call a javascript function on click of the anchor tag.

Expand|Select|Wrap|Line Numbers
  1. <a id="Click1" href="#" onClick="StoreVal('Click1')">Element1</a>
The javascript code as follows.
Expand|Select|Wrap|Line Numbers
  1. <script language="javascript">
  2.     var Click1Val;
  3.     function StoreVal(anchorID){
  4.         Click1Val=document.getElementById(anchorID).value;
  5.     }
  6. </script>
To get the value in the second frame, you can use the Click1Val variable's value.
i hope it works for you.
Nov 6 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Russ Perry Jr | last post by:
I'm using "ID" and "Value" in the generic sense here... Let's say one page I had a <html:select> with a collection like this: <html:options collection="items" property="key"...
2
by: Marcio DeBarros | last post by:
Hi, I am using JDOM to create and validate XML document in a Java app. for the first time, and am getting the error above when I am validating a document with SAXBuilder with the following DTD:...
1
by: Mark Sandfox | last post by:
Is there a way to restrict the user to only selecting and sending either a ..gif or .jpg. Everything I have read says this option can not be done by design (security reasons). I find that irronic...
6
by: sattu | last post by:
i want to store value of querystring("id") when page postback
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.