Coder Social home page Coder Social logo

Problem when inside table tags about bsmselect HOT 5 CLOSED

vicb avatar vicb commented on August 25, 2024
Problem when inside table tags

from bsmselect.

Comments (5)

vicb avatar vicb commented on August 25, 2024

Do you have an URL where to check your issue ?

from bsmselect.

krisg avatar krisg commented on August 25, 2024

I'm dealing with a legacy site which uses tables for form field organization. I was hoping to quickly and easily plug bsmselect into the form where multiple selects are needed.

http://grayearth.com/bsmselect-test/

from bsmselect.

vicb avatar vicb commented on August 25, 2024

You should try making your html valid first -> http://validator.w3.org/

from bsmselect.

krisg avatar krisg commented on August 25, 2024

It appears the div must contain the label, select and submit button as immediate children.

As I mentioned, the HTML has the label and form field in separate tags. If you have a suggestion on how to keep this while using bsdselect without problems let me know.

Thanks.

from bsmselect.

vicb avatar vicb commented on August 25, 2024

One of the latest enhancement from Andy Fowler is that listType option can now be a function. The first (and only) argument is the original select. It must returns (& create if you wish) the list that will be used to show the selected items (ul/ol).
It should help you answer your question.
Check the README.

from bsmselect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.