Jump to content

IFrames


riley

Recommended Posts

Is there a way to have an iframe get data from a webpage on the page load without it being clicked? I mean the Hotkeys on the Page (Left/Right/Up/Down Arrows) I don't mean the picture as it already is showing the picture on page load.

 

Thanks :)

Link to comment
Share on other sites

The 'click' is JavaScript event, another event that does exactly this is 'onload' which is used as
 

window.onload=function(){

//get data coding

}

IF data is from server language (PHP, ASP NET) You would use AJAX a mixture of JavaScript and server language script.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...