Questions tagged [onpageloadstring]

6 questions
7
votes
4 answers

How do you use onPageLoad in Javascript?

I tried using onPageLoad: function() { alert("hi"); } but it won't work. I need it for a Firefox extension. Any suggestions please?
Lilz
  • 4,013
  • 13
  • 61
  • 95
2
votes
1 answer

How to Block External Static Resource During Page Load with WP

I am doing a page speed test and there is a specific domain that keeps causing lag time in page speed. I do not think there is any use for these external files so I would like to omit them during the page load when a user visits the site. I found…
Rookie Recruits
  • 93
  • 3
  • 18
1
vote
2 answers

JS namespacing and page-load

I've read about how to make a JS namespace, but my question is how can I make sure the functions inside would only happen on page load? i.e. instead of: $(document).ready(function () {...}); (or any other lib then jquery). also - is there a way to…
FED
  • 319
  • 1
  • 2
  • 12
0
votes
1 answer

Auto click on page load

The below mentioned code loads a page with a buy the basket button. Currently i manually click the button to run the code Can anyone add a auto click the button after the page loads. I am a total dumb in coding. A fully ready code is…
Mohan
  • 1
0
votes
2 answers

I am passsing an xhtml tag ID in onPageLoad('TableID') function

Javascripts are in script.js file which I have called in the xhtml file. But it is throwing error at line where I have calling onpageload function saying " object expected. However, if I have the scripts on same XHTML file, it is working fine.
shyamsundar
-1
votes
1 answer

How to correct onepage checkout in magento?

I have one page checkout in magento for a site and while choosing and option "Ship to this address" it remains on same tab rather than moving to the shipping method tab. How do I solve this problem, is this error occurred in java script or in code?…
Anuroop
  • 1
  • 1
  • 3