javascript - Safari refresh prevents jQuery execution -


i'm working on drupal 7 site, mobile version of site uses bootsrap theme.

there custom block (created w/ drupal) using jquery move elements on page, changing classes , ids. block works fine.

my problem in custom module renders block. have jquery code in module's template not running on refresh in safari, runs if go on address bar , hit "go" on keyboard.

edit: ie , chrome seem have problem, jquery code runs sometimes, doesn't matter if refresh, clear cache or whatever. nothing special in browser's console.

my jquery code supposed move elements in page, on jquery(document).ready, not working simple alert.

p.s.: jquery in custom module's template doesn't have code or html elements affected custom block, thought maybe mention it.

i hope can understand issue :)

thanks.

i using jquery(document).ready execute code. changed jquery(window).load , works fine. code executes on first page load , on every refresh.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -