Could really use some help figuring this out

On Jan 17, 6:06 pm, Sykoi <[EMAIL PROTECTED]> wrote:
> I apologize for the subject, it doesn't really explain what I'm having
> troubles with right now... Basically I need to create a little div
> popup that comes up (And stays up until an X is pressed in it), when
> you click on a username in a chat.
>
> Now here's the tricky part! The userIDs aren't always the same,
> they're gotten from AJAX and saved into the div (<div class="username"
> name="username" id="user_id">)... How would I go about doing this? I
> need to make it so when you click div with the name of "username", it
> will use the id to pass through a function and load another div, while
> getting more user information from AJAX (Storing it into an array so
> it doesn't have to again, of course), and printing that into the div.
>
> As far as I know, events aren't capable of this outright... So what do
> I do? The AJAX part I get, but the events still baffle me.

Reply via email to