logo-MindMajix
PostjQueryjQuery
A
Athiq mohd

Posted on 25th July 2024|82 views

0
votes

Jquery Get Id Of Clicked Element

How to get the ID of a clicked element?

1 answers
Answers
P
kumar san

Posted on 25th July 2024| views

Use the following command

click(function() { var id = $(this). attr('id'); $container. cycle(id. replace('#', '')); return false; });

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number