Foros de discusión
When to use aui:script tag
Alain Dresse, modificado hace 11 años.
When to use aui:script tag
Junior Member Mensajes: 95 Fecha de incorporación: 18/07/11 Mensajes recientes
Hi,
It is not clear to me when to use the <aui:script> tag instead of <script>. Could someone clarify ?
thanks and best regards,
Alain
It is not clear to me when to use the <aui:script> tag instead of <script>. Could someone clarify ?
thanks and best regards,
Alain
Sergio Cabrera, modificado hace 11 años.
RE: When to use aui:script tag (Respuesta)
Junior Member Mensajes: 68 Fecha de incorporación: 19/12/11 Mensajes recientes
I think you must use aui:script whenever you can to improve your SEO. This is because aui:script places your script code just before </body> and the script doesn't stop the page load.