Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alain Dresse
When to use aui:script tag
September 17, 2012 11:54 PM
Answer

Alain Dresse

Rank: Junior Member

Posts: 95

Join Date: July 18, 2011

Recent Posts

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
Sergio Cabrera
RE: When to use aui:script tag
October 31, 2012 2:39 AM
Answer

Sergio Cabrera

Rank: Junior Member

Posts: 68

Join Date: December 19, 2011

Recent Posts

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.