I want one script to have multiple events (jQuery), based on what event is triggered it will load up different content on the same div. Does that make sense or do I have to have multiple ID's ?
Siberian
13
Junior Poster
Recommended Answers
Jump to PostIt is possible to bind more than one event on an element.
Jump to Postwhat kind of events are you trying to catch?
Jump to Postpost some code
Jump to Postpost some code
Yep.
Help us to help you - although for PHP, this thread has some very good advice:
http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question
Jump to PostWTF? Please articulate your needs clearly, you're not making any sense.
All 22 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Siberian
13
Junior Poster
jstfsklh211
79
Light Poster
Siberian
13
Junior Poster
jstfsklh211
79
Light Poster
diafol
Siberian
13
Junior Poster
diafol
Siberian
13
Junior Poster
Siberian
13
Junior Poster
Siberian
13
Junior Poster
diafol
AndrisP
193
Posting Pro in Training
Siberian
13
Junior Poster
diafol
Siberian
13
Junior Poster
diafol
Siberian
13
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Siberian
13
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Siberian
13
Junior Poster
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.