SimonMarkDawson
Programmer
Hi
I'm having trouble passing an object to a Javascript function. I can't use 'this' because I want to pass a different object to the one calling the function. So far I've tried using the object's name with and without ' marks as parameters to the function being called but without success.
Any ideas on the correct syntax would be much appreciated.
Thanks in advance etc
- Simon
I'm having trouble passing an object to a Javascript function. I can't use 'this' because I want to pass a different object to the one calling the function. So far I've tried using the object's name with and without ' marks as parameters to the function being called but without success.
Any ideas on the correct syntax would be much appreciated.
Thanks in advance etc
- Simon