tags:

views:

38

answers:

2

I want to dynamically populate an un-ordered list in a Div section. But, I want it on page load and I couldn't find any onload event in the Div tag. I want to make an AJAX request to load list from a .php file.

Which event to capture?

+1  A: 

Catch <body>'s onLoad event.

Ignacio Vazquez-Abrams
+2  A: 

body.onLoad or jquery's document ready

marcgg