Comments (3)
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.
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.
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)
- Hi,clear method is not working when I submit form by ajax. HOT 1
- Input group breaking changes HOT 6
- Default value HOT 1
- Not working inside an ng-repeat HOT 1
- Update npm package HOT 2
- How it works? HOT 14
- Can not install latest version using npm HOT 1
- the new version doesn't work for me HOT 1
- Not working in HubSpot, filestyle is not a function error HOT 3
- TypeError: element.filestyle is not a function HOT 1
- what about required option? HOT 1
- Text option to change button text wrong HOT 1
- Bootstrap-filestyle doesn't work. I can't see font awesome. HOT 5
- Version 1.2.3 not published to NPM HOT 1
- only works on page refresh
- Clear method issue
- change event not triggered on drag & drop
- Cannot Retrieve Javascript this object onChange Event
- dragdrop doesnt work if loaded via ajax
- Change on htmlIcon / data-icon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-filestyle.