Jump to content

static data fill on webpage load


Recommended Posts


I need to get some data whenever page loads (as it is static data not dynamic).

I used onload event but it works only for first text box and i have many text boxes in other tabs also where i need to get data only once.

I tried with addeventlistener but it has some dependency like , button click or clicking anywhere in document.

I want is, load all the static data when ever webpage opens first time without clciking anything.

I have 6 to 7 tabs where many textboxes are there and where the value should be dispalyed on webpage load


Any suggestions how to proceed


Edited by rizwansyed
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...