Code Monkey home page Code Monkey logo

Comments (6)

adamcoulombe avatar adamcoulombe commented on July 17, 2024

Your HTML markup looks pre-rendered?

you just need:

<select name="supplier" id="id_supplier" >
<option selected="selected" value="">---------</option>
</select>

thats it. you do not provide the custom spans, the plugin does that

from jquery.customselect.

davidetruffo avatar davidetruffo commented on July 17, 2024

First things first: thanks for your reply!

Yes i know! I didn't put any span, and actually i don't put any select either. The select itself is printed by django. I Just posted the whole rendered code to check if there's anything that's messing things up in the django-pre-rendered-select..
the select rendered and printed by django is:

<select name="supplier" id="id_supplier">
<option selected="selected" value="">---------</option>
</select>

which is exactly as you suggested, that's why i was asking :)

from jquery.customselect.

adamcoulombe avatar adamcoulombe commented on July 17, 2024

Which browser/OS are you testing with? Are you able to get the plugin to
work on its own (aka in a static HTML page outside of you django site)

On Sunday, April 28, 2013, Davide Truffo wrote:

First things first: thanks for your reply!

Yes i know! I didn't put any span, and actually i don't put any select
either. The select itself is printed by django. I Just posted the whole
rendered code to check if there's anything that's messing things up in the
django-pre-rendered-select..
the select rendered and printed by django is:

---------

which is exaclty as you suggested, that's why i was asking :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-17137506
.

from jquery.customselect.

davidetruffo avatar davidetruffo commented on July 17, 2024

firefox 20.0 on Mac osx 1.8.3
i was trying on a static page right now, i'll post the result in a while

from jquery.customselect.

adamcoulombe avatar adamcoulombe commented on July 17, 2024

Thanks, you can also test out the demo links from the readme. Those should work fine unless there is some bug in the plugin causing issues in your environment.

I'm guessing since you were posting rendered markup that you maybe already have done this, but please also check your error console to make sure there are no errors

On Apr 28, 2013, at 1:58 PM, "Davide Truffo" [email protected] wrote:

firefox 20.0 on Mac osx 1.8.3
i was trying on a static page right now, i'll post the result in a while


Reply to this email directly or view it on GitHub.

from jquery.customselect.

davidetruffo avatar davidetruffo commented on July 17, 2024

Solved!
the position:relative on .customSelect was creating the issue!
I'm not sure why it was there actually, i was sure i just copy&pasted the styles from your page...i don't know!

It works now, thanks for your time and for your great plugin!

from jquery.customselect.

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.