Inline javascript while using load()

Inline javascript while using load()

I have been going insane trying to figure out how to make an inline JavaScript work from a load().

I would usually just avoid using the inline script, but in the case it is necessary.
I am using my load like this:
$("#content").load("index.php", { id: GETid });


Some of the loaded content contains necessary inline JavaScript, but it's not showing through.


Any helpful solutions?