I know how to pass a form to a function but I can find how to pass 'this' object to a function.
The above gets an error telling me 'carrier' has no properties. I need to be able to set the 'value' among other things for the object. Can someone help me with the right syntax? TIA.
Code:
<input type="checkbox" name="carrier[0]" onClick="myFunction(this.form.carrier[0])">