[Javascript] Passing a variable to a Function
Kevin.Gutch at mapinfo.com
Kevin.Gutch at mapinfo.com
Thu Nov 20 11:52:20 CST 2003
I would like to pass a value to a function like this:
<a href="javascript:myFunction('myData');">myData</a>
however,
I really want to pass a dynamic value/variable to the function. How would I
go about doing this in the function call? When I try it just gets passed as
a String.
<a href="javascript:myFunction(myVariable);">myVariable</a>
Am I making myself clear?
More information about the Javascript
mailing list