I am trying to get this script to work with pageload; I tried .ready and .load , and I still can't get it to work. I use ' <body onLoad="document.emvForm.EMAIL_FIELD.focus()"> on my site. But that doesn't matter, right?
.ready
.load
<body onLoad="document.emvForm.EMAIL_FIELD.focus()">
Update: at this url, the page loading is still not working for me, what am I doing wrong? http://tinyurl.com/79azbav
An element with id "entertext" probably does not have its own "ready" event.
You are probably thinking about this:
$(document).ready(function() { $("#entertext").shake(); });
With $ before ("#entertext"). shake ();
Source: https://habr.com/ru/post/900970/More articles:Change LED notification color every 5 seconds - androidHow can I do a search with the Google UI API for .NET? - apijQuery-.css () doesn't work for input - javascriptHow to disable UISegmentedControl? - objective-cCreating vibration on page load? - javascriptProblem creating a project link for Xcode 4 - iosPHPExcel - reading cells and passing it to MYSQL - phpMsgstr "Compiler streaming support not included." - boostTheme kills the OS - multithreadingInherited some Java generics - javaAll Articles