user322043
user322043

Reputation: 11

XMLHttpRequest in a loaded XMLHttpRequest

I'm using javascript to load data in a div trough XMLHttpRequest now i'm wondering if it's possible to make another XMLHttpRequest in that loaded div so an new onclick in my result

Greetings

Upvotes: 1

Views: 407

Answers (1)

Mickey
Mickey

Reputation: 2405

You're over thinking this. It's actually quite simple. The "Ajax" link that you click on to load the data into the div container.. Well, the data that you load into the div container can use the same function and it will use the same container it's inside to update.

Upvotes: 2

Related Questions