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 6054309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:08:19+00:00 2026-05-23T08:08:19+00:00

i am trying to reach a value in my code which is in a

  • 0

i am trying to reach a value in my code which is in a loop through jquery selector but i cannot figure it out because i am still a noob in jquery selector:

  <tr >
    <td class="qtip" title="asjdasd">
        <?php
        foreach ($this->titles as $title) {
        ?>

            <div class="title" style="font-weight: bold" >
            <?php echo $title['chapter_name']; ?>
        </div>
        <?php foreach ($title['videotitle'] as $video) {
        ?>


                <div class="title">
                    <input type="hidden" id="hiddenid" value="<?php echo $video['id'] ?>">
            <?php echo $video['video_title']; ?>
            </div>
            <div>
            <?php echo date('h:i:s', $video['video_time']) ?>
            </div>

            <div><?php echo $video['date_created'] ?></div>
        <?php if (isset($this->Videos['user_id'])) {
        ?>
        <?php if (isset($video['file_path'])) {
        ?>
                        <div> <a href="<?php echo $video['file_path']; ?>" target="_blank"> <img src="/images/white_folder.jpg" alt="" /></a></div>
        <?php } else {
        ?>
                        <div> <a href="#" target="_blank"></a></div>
        <?php } ?>
        <?php } else {
        ?>
                    <div>  <a href="/auth/login" target="_blank"> <img src="/images/white_folder.jpg" alt="" /></a></div>
        <?php } ?>
    <!--                    <div> <a href="/mediaplayer/player.swf?width=700&height=500&file=<? //php echo $video['video_path'];                                        ?>&image=<? //php echo str_replace('.flv', '.jpg', str_replace('/flv/', '/thumb/', $video['video_path']))                                        ?>&skin=<? //php echo URL_ADDRESS                                        ?>/mediaplayer/carbon/carbon.xml" rel="shadowbox" title="<? //php echo $video['video_title']                                        ?>" ><img src="/images/white_vid.jpg" alt="" /></a></div>-->

                <div class="jwbox">
                    <img width="21" height="27" alt="" title="" src="/images/white_vid.jpg"/>
                    <div class="jwbox_hidden">
                        <div  class="jwbox_content">
                    <?php
                    echo $video['vid_code'];
                    ?>

i want to reach to this Hidden value and get its value:

                    <input type="hidden" id="videoid" value="<?php echo $video['videoid'] ?>">

                    <script type='text/javascript'>

                        var timerinterval
                        jwplayer('player2').onPlay(function() {
                            timerinterval=setInterval('timer()',1000)});
                        jwplayer('player2').onPause(function() {
                            stopTimer()});
                        jwplayer('player2').onComplete(function(){
                            stopTimer()});


                    </script>
                    <p><?php echo $video['video_title'] ?></p>
                    <a href="javascript:void(0)">  <p  id ="fav" font-color="green">add to favourite  </p></a>
                </div>
            </div>

        </di
  • 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-23T08:08:20+00:00Added an answer on May 23, 2026 at 8:08 am

    To get ahold of the value in:

    <input type="hidden" id="hiddenid" value="<?php echo $video['id'] ?>"> 
    

    use

    $("input#hiddenid").val();
    

    Since you are new note the following things:

    ID’s must allways be unique and are selected using

    $("#idName")
    

    Class’s can be groups of tags selected using

    $(".className")
    

    to select all img elements use $

    $("img")
    

    to select an exact element with tag > classname > id

    $("img.className#id")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to figure out how to essentially create a floor call based
I am trying to reach the following result here I know how to configure
Trying to do this sort of thing... WHERE username LIKE '%$str%' ...but using bound
I am trying to get the Jquery UI modal dialog to take over after
i try to execute these 3 statements, 1 and 2 success, but when reach
I am trying to reach the sqlite database on my device using the procedure
I'm writing some code in python and I'm having trouble when trying to retrieve
I'm trying to format a BigDecimal value by using methods of DecimalFormat.format(). My problem,
I'm trying to use group by with rollup clause within sql server 2005 but
Currently, I'm trying to get some code to react differently to different types. This

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.