I'm working with Wordpress and jQuery, where I can only use the "$" symbol by passing it as a parameter into functions which are defined with "jQuery".
But I don't know how to pass in the symbol into a named function.
This didn't work:
(function sendPostRequest($){
$("<input>").attr({
type: "hidden",
name: "merchant",
value: 90198778
}).appendTo('#signup_form');
})(jQuery);
How can I make it work?