[WEB] I have a JQuery in the end of my webscreen that I would like to run before the page is fully rendered.

The script doesn't seem to run but when I insert it in the inspect console DevTools(ctrl+shift+I) it runs.

Can someone help me on this one?

Thanks,

FB


Hi Filomeno,

Is your Save button maked as "Submit" or "Ajax Submit" ?
It will only work on the ajax one.


Regards,
Nuno Verdascsa

Solution

Have you tried to enclose your code by " window.onload = function() {   }" ?

Solution

Nuno Miguel Verdasca wrote:

Hi Filomeno,

Is your Save button maked as "Submit" or "Ajax Submit" ?
It will only work on the ajax one.


Regards,
Nuno Verdascsa

Hi Nuno,


It's not even a page with a save, it is a list of images that I want to "edit" and rotate.


Regards,

FB


Bernardo Bruno wrote:

Have you tried to enclose your code by " window.onload = function() {   }" ?

Hi Bernardo.


This worked perfectly!!

Thanks for your help!!


Regrads,

FB.