Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6899211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:23:35+00:00 2026-05-27T07:23:35+00:00

<ul><li class=rjust> <a href=# class=edit-video-lightbox id=4f80a4b5>Edit</a> <input type=hidden class=video_title value=test123> <input type=hidden class=video_description value=Sample

  • 0
<ul><li class="rjust">
    <a href="#" class="edit-video-lightbox" id="4f80a4b5">Edit</a>
    <input type="hidden" class="video_title" value="test123">
    <input type="hidden" class="video_description" value="Sample Description">
    <input type="hidden" class="video_tags" value="Adjust">
    <input type="hidden" class="video_tags" value="TXV">
</li>

<li class="rjust">
        <a href="#" class="edit-video-lightbox" id="235235">Edit</a>
        <input type="hidden" class="video_title" value="another_test">
        <input type="hidden" class="video_description" value="descriptme agian">
        <input type="hidden" class="video_tags" value="tag1">
        <input type="hidden" class="video_tags" value="tag2">
</li></ul>

When I click on the “Edit” a href, I want to get all the values of the class “video_tags” nearest to it.
Example when the 1st “Edit” is being click (id=”4f80a4b5″), I want to get all the value of the “video_tags” which is “Adjust”, “TXV”.
On the other hand, when I click on the other “Edit” (id=”235235″), all the value of “video_tags” that I should get is “tag1″,”tag2” since it obviously it is near to it.

Take note that the class “video_tags” is flexible, it could have many classes, my example has just only 2 video_tags per li.

Kindly please help me with this matter.
Any help would be greatly appreciated and rewarded! Thanks 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:23:36+00:00Added an answer on May 27, 2026 at 7:23 am

    You can try this

    var tags;
    $(".edit-video-lightbox").click(function() {
        tags = [];
        $(this).siblings('.video_tags').each(function() {
              tags.push($(this).val());
        }); 
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

class ITestType(object): Sample interface type __metaclass__ = ABCMeta @abstractmethod def requiredCall(self): return class TestType1(object):
Class is a reference types while Struct is a value type. This means that
class Test1<T> { Test1(Class<T> type) {} } class Test2 extends Test1<Class> { Test2() {
class ToBeDeleted: def __init__(self, value): self.value = val # Whatever... def __del__(self): print self.value
class Sample { public: Sample(){} Sample(const Sample& obj){ cout<<C.C. with 1 argument called<<endl;} Sample(const
class Foo { static bool Bar(Stream^ stream); }; class FooWrapper { bool Bar(LPCWSTR szUnicodeString)
class Tag(models.Model): name = models.CharField(maxlength=100) class Blog(models.Model): name = models.CharField(maxlength=100) tags = models.ManyToManyField(Tag) Simple
class A : IFoo { } ... A[] arrayOfA = new A[10]; if(arrayOfA is
class someclass {}; class base { int a; int *pint; someclass objsomeclass; someclass* psomeclass;
class Foo(models.Model): title = models.CharField(max_length=20) slug = models.SlugField() Is there a built-in way to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.