calling a JQuery function
I want to write a jQuery function that I can call using a line like the following:
$("#database_user").alpha_numeric;
I have written the function which is in the same scope as the line above, but the function is not being called & there is no Java script error.
function alpha_numeric()
{
alert("Goodness me, I have been called");
}