473,405 Members | 2,279 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,405 software developers and data experts.

Data passing from one function to another.....

i have two functions that are stacked in so much that the second
function calls the first.

function1() {

[...]
}
return value;
};

function2() {

[...]
function1()

}
var = function1 returned value

function 1 is function correctly as i have got it to display the data
to the screen durrning testing it. however, i have not yet come across
a way in which i can get the returned vale into function 2

any help will be gratefully recieved

many thanks

RM

May 8 '06 #1
4 1257
thankyou for the sarcasm.....

i had already got that in my scripting....... only problem was that i
called the first funtion twice..... rendering the result to show the
scripting of the first function.

thanks anyway

May 8 '06 #2
re*******@blueyonder.co.uk wrote on 08 mei 2006 in comp.lang.javascript:
thankyou for the sarcasm.....

i had already got that in my scripting....... only problem was that i
called the first funtion twice..... rendering the result to show the
scripting of the first function.


Lee was right, you have a lot to learn.

Not only scripting, but also quoting what you are answering on.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 8 '06 #3
sorry...

i will bear that in concideratin the next time i post....

and sorry did not mean to offend

RM

May 8 '06 #4
re*******@blueyonder.co.uk wrote on 08 mei 2006 in comp.lang.javascript:
sorry...

i will bear that in concideratin the next time i post....
Lee will be glad.
and sorry did not mean to offend


I seem to remember I also pointed at not quoting.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 8 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
58
by: jr | last post by:
Sorry for this very dumb question, but I've clearly got a long way to go! Can someone please help me pass an array into a function. Here's a starting point. void TheMainFunc() { // Body of...
10
by: Noozer | last post by:
Below is some ASP, HTML and javascript. It is part of a page used to maintain a small database. This code did work at one time, but has since stopped. For some reason the data on my form is not...
4
by: a | last post by:
Hey gang, quick question. Given an app where many classes will be acessing a database, what is the best way to go? a. A function that returns a connection string to each class, and lets them...
3
by: Lonewolf | last post by:
Hi all, I'm having difficulties passing data back to managed class from my native class when the data is generated from within a native thread in the native class itself. I will give the following...
7
by: Arpan | last post by:
The .NET Framework 2.0 documentation states that An Object variable always holds a pointer to the data, never the data itself. Now w.r.t. the following ASP.NET code snippet, can someone please...
5
by: Markus Ernst | last post by:
Hello A class that composes the output of shop-related data gets some info from the main shop class. Now I wonder whether it is faster to store the info in the output class or get it from the...
1
by: krishnasamy | last post by:
Hi, I am retrieving the image from DLL through vc++ dll. Actually Image is retrieving in Callback function of main function. When I writing that image file inside of the Callback function then...
3
by: jacob navia | last post by:
Abstract: Continuing the discussion about abstract data types, in this discussion group, a string collection data type is presented, patterned after the collection in C# and similar languages...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.