I've got this function which runs for each instance of 'fullName':
$(xml).find("fullName").each(function(){ ... });
But there is really only ever one instance and I don't want to be using each, is there some other way to create this function without using each. Maybe just:
$(xml).find("fullName").it(function(){ ... });
You can try something like this
var func = function(){ ... }
func.call($(xml).find("fullName")[0], args));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With