What is the Script# syntax for getting the following output javascript code:
$(document).ready(function() {
//..my code
});
I have tried jQuery.OnDocumentReady but that has two problems:
(1) It can only be called from inside a function (defeats the purpose since it won’t get called on startup)
(2) It generates the following code, which is not quite right: Edit: My mistake, these are equivalent
$(function() {
//..my code
});
Found the answer here:
So the code ended up looking like this: