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

  • Home
  • SEARCH
  • 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 7947049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:19:18+00:00 2026-06-04T01:19:18+00:00

I generate markup dynamically and id for inputs elements: <div class=wrap_input fancy_form style=margin-bottom: 10px;

  • 0

I generate markup dynamically and id for inputs elements:

<div class="wrap_input fancy_form" style="margin-bottom: 10px; margin-top: 28px;">
        @foreach(var seatType in Model.UsingSeatType)
        {
            int i = 1;
            <p class="inp_label" style="width: 50px;">@(seatType.Value):</p>
            <i>&nbsp;</i>
            <input type="text" id="type@(i)" value="" data-price=""  style="width: 50px;" />
            i++;
        }
    </div>

How can I find all this inputs(type1, type2, type3 and so on)?

 $("#type?").spinner(); 

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-06-04T01:19:19+00:00Added an answer on June 4, 2026 at 1:19 am

    Just try this code

    $('.wrap_input.fancy_form input[type=text][id^=type]').spinner();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to be able to generate the following markup: <label for=field>Something <span class=hint>Field
Is it possible to generate the markup for a MarkupContainer dynamically, i.e. without storing
Existing markup: <g:textField name=identifier/> <g:remoteLink action=newId update=identifier>generate new id</g:remoteLink> Corresponding HTML markup: <input type=text
I generate a figure in MATLAB with large amount of elements (100000+) and want
I'm trying to dynamically generate root folder in a url that's in the body
I'm trying to find a simple solutions to generate markup in a JSP page
I need to acquire HTML markup of a controller/action in order to generate PDF.
I have following markup which is generated dynamically using C# in my asp.net MVC2
I have this markup dinamically generated through PHP/MySQL <div id=sortable> <h3>Italy</h3> <ul> <li id=row_1>Record
I'm interested in selectively parsing Mediawiki XML markup to generate a customized HTML page

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.