I have a page with a list of users. Every time i click on a username a div will be loaded via ajax, and this div will contain the user details plus another ajax link that will be used to display a floating div that will contain a form to send a message to the user.
The first time i load the user everything will be going just fine, and when i click on the "send a private message to the user" link just one request will be triggered.
If i load then another user (or the same user) when i click on the "send a message" link two request will be triggered, and then 3, and then 4 and so on. Please, i'm a new poster and posting on mobile cos its urgent so the code wont be easy to post. But i hope the problem has been well explained. Please people help!
Olyboy16 -2 Lover of code
Troy III commented: a correct answer has been given to you - you need to say "THANK YOU!" and mark your thread as "Solved!" -2
radhakrishna.p 29 Posting Whiz in Training
Olyboy16 -2 Lover of code
Troy III 272 Posting Pro
Troy III 272 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.