Git Product home page Git Product logo

Comments (3)

markusslima avatar markusslima commented on August 16, 2024

Could you specify a little better how the plugin is calling? If you can send
me the code snippet would be easier.

In the case of misalignment, look for html errors or see if your form is in
accordance with the bootstrap

2013/5/20 siva1117 [email protected]

Hi,

I have a situation where my form itself gets loaded via ajax call, and the
filestyle is not working on ajax loaded content, the default style appears
but it works fine on independent pages.

Also the button for some reason is not aligned with the input box,
attached a screenshot.

Could you please help me out?

[image: error]https://f.cloud.github.com/assets/3603662/537194/35a9532c-c16a-11e2-9378-cde115df2056.png


Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

Markus Vinicius da Silva Lima
Desenvolvedor e Designer Web
Web site: www.tudosobreweb.com.br
Github: github.com/markusslima
Telefone: +55 31 8662-0944

from bootstrap-filestyle.

shiva1117 avatar shiva1117 commented on August 16, 2024

Hi,
To show you better i just installed the scripts on one of domains http://searchforexpert.com/ just click on the history link on the top of the page as you can see the a small form is loaded via ajax with a file input in it and it does not have a style on it. but if you open the history page in a new tab then you can see that it works fine. The script works fine on static pages but not an ajax loaded content. I hope you get the issue.

from bootstrap-filestyle.

markusslima avatar markusslima commented on August 16, 2024

Friend,

Got your problem always happens with those who work with JavaScript.
Your problem is that you can only use data attributes at the time the page is loaded, after loading in order to register you need to use $(":file").Filestyle({input: false}) by inserting after ajax content.

Any questions send me an e-mail or add gtalk. [email protected].

from bootstrap-filestyle.

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.