473,786 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

28 New Member
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 1602
ramapv
28 New Member
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.documen t.writeln('<%=c .getString(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
Thevercad
26 New Member
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
6511
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" labelProperty="value"/> In this case "key" is what I mean by "ID", and "value" is what I mean by "Value" -- the "Value" is shown to the user, but the "ID" is what I plan to keep, to be saved to a database (as a reference in a table to a common table as a part of...
2
1975
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: <?xml version="1.0" encoding="utf-8" ?> <!-- DTD for a user definition file --> <!ELEMENT user (username, password, email?)> <!ATTLIST user id ID #REQUIRED>
1
3295
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 as this is the reason (security) that I want to restrict their selection. Any help on this one will be greatly appreciated. The page is using ASP.NET.
6
2602
by: sattu | last post by:
i want to store value of querystring("id") when page postback
0
9650
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7515
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.