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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:37:42+00:00 2026-05-21T09:37:42+00:00

I am trying to pass the text to jquery image slider but i just

  • 0

I am trying to pass the text to jquery image slider but i just dont know how to acheive this, Below is the Design view:

      <script type="text/javascript">
                //want to pass text to "desc:"sometext"
               if (!window.slider) var slider = {};
               slider.data = [{ "id": "slide-img-1", "client": "nature beauty", "desc":"" }, 
               { "id": "slide-img-2", "client": "nature beauty", "desc": "" },
               { "id": "slide-img-3", "client": "nature beauty", "desc": "" }];

    <asp:Repeater ID="rptJquery" runat="server">

<ItemTemplate>
 <a href="">
<img ID='<%#Eval("slideshowID") %>' src='<%#String.Format("../images/slideshow/{0}", Eval("imgURL"))%>' class="slide"/>
</a> 
    //want to pass this hidden field value to the above "desc" as there are three description
    // for three images , there fore I want to pass specific description to all 3 images
    <asp:HiddenField ID="desc" runat="server" Value='<%#Eval("slideDesc")%>' />
</ItemTemplate>
</asp:Repeater>
  • 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-21T09:37:43+00:00Added an answer on May 21, 2026 at 9:37 am
    <script type="text/javascript">
    
    if(!window.slider) var  slider={};
    slider.data = [{ "id": "slide-img-1", "client": "nature beauty", 
              "desc": $('#slide-img-1').parent().next('input[type=hidden]').val() },
              { "id": "slide-img-2", "client": "nature beauty",
              "desc": $('#slide-img-2').parent().next('input[type=hidden]').val() },
              { "id": "slide-img-3", "client": "nature beauty",
              "desc": $('#slide-img-3').parent().next('input[type=hidden]').val() }];
    </script>
    

    (Place this code just before the closing </body>tag.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to pass jquery variable value to input text. I tried the
I'm trying to pass a NSString text to a UIViewController in button click event
I am trying to pass a parameter as text which contains multiple ' -
When trying to pass a CGPoint to a method the point is passed, but
Trying to pass the variable flickrurl to a PHP page with jQuery/ajax. It works
What I'm trying to do is pass parameters to a user control view which
I am trying to pass a text by parameter (with whitespaces) to the load
hey, Im trying to make a call a jquery function and pass some args
I am trying to pass unique passnum value to different zone information using jquery,
I'm trying to pass user input form data jquery/ajax to check if there's any.

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.