Menu
Can you place java code in an external javascript file (.js). For example can I do the following in my xx.js file.
$(document).ready(function(){
<% execute some java code here %>
…execute some javascript code here…
})
Can I do the above?
Another question …
I know <% %> is to execute java code inside html. But what does <%– – -%> mean?
Thanks for any help.