Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript Functions

Status
Not open for further replies.

jammer1221

Programmer
Jul 30, 2003
352
US
Hi All,

How can I pass a variable to a function like this...
Code:
window.onload=function() {
...
}

P.S. when referring to a function like the one above, what do I call it?

Thanks,
Matt
 
You could do a search on your code as is ;)
Here

____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done
 
onpnt, thank you for that link, it was very helpful!

However, I solved what I needed to do using the functionRef.call() function...

Thanks,
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top