I have a question with the initialization syntax of a jQuery statement. I mean ...
Using Dreamweaver I have seen that some of its versions (I do not know if all) when offering you the initialization code of a jQuery statement tell you the following:
$(document).ready(function(e){});
The point is that searching the Internet for recognized references, on the other hand, I find the following code:
$(document).ready(function(){});
The difference as you see is in the e
that appears as a parameter in the function. I do not know exactly how important it is, or not, to define the function with parameter or without parameter, and if it is more correct to write it as Dreamweaver proposes or as I found in other Internet references.