Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
How to get value sent to function
Old 12-26-2008, 03:38 PM How to get value sent to function
Banned

Posts: 3
Trades: 0
If i have the following code
Code:

*Note the red-colored items:
function dateDiff(varfirst,varnext,target)

url=?varfirst="+varfirst+"&varnext="+varnext;


function stateChanged()
{
if (xmlHttp.readyState==4)
{
document.getElementById('target').value=xmlHttp.re sponseText;

How can I get the 3rd value from the function into the getElementById value?
khanshab is offline
View Public Profile
 
 
Register now for full access!
Old 12-26-2008, 03:56 PM Re: How to get value sent to function
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Why not read where you copied it from??

http://www.codingforums.com/showthread.php?t=151095
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to How to get value sent to function
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09501 seconds with 12 queries