I actually work on crm. The time to load/save the page is long (more than 16s) The page got 400 fields in 8 tab separator....(yes one page!!!!!)
For my director, the trouble come with my javascript (102 fields got some javascript's code which had more than 100 lines in the same page...) I take the execution time of my javascript : Onload 0.6s OnSave 0.5s
For me, the only way to optimise my javascript is making some function, I can call in my different OnChange or OnLoad but I don't know how to make it here's a way
++
PS: exemple of my OnSave code : I have disabled some field in my page, but I want to save those one so I make (0.5s) :
For ( var n=0;n<crmForm.elements.length;n++ ) { if ( crmForm.elements[ n ].Disabled ) { crmForm.elements[ n ].ForceSumit=true; } }