Comments (4)
It's probably that the element the date picker is attached to changes position after the page is loaded. You could call the "update" method once the page is loaded to fix that
from zebra_dialog.
No, it's not the changing positions, I put the $('#data_pif').Zebra_DatePicker(); in a setTimeout after 1 second, I load the HTML template before and on success I define the calendars. So ... it's something else. BTW, what update() method?
in console
$('#data_pif').Zebra_DatePicker().update()
TypeError: $(...).Zebra_DatePicker(...).update is not a function
but despite the error, it fixed the position!
So ... it's no problem issuing more $('#data_pif').Zebra_DatePicker() than one?
P.S. îmi place însă că ne conversăm în engleză ... ;-)
Teo
from zebra_dialog.
Sorry, I was on the wrong project :-D
I found now:
var datepicker = $('element').data('Zebra_DatePicker');
datepicker.update();
Thanks,
Teo
from zebra_dialog.
You should really look into the configuration options ;)
The "update" method is used like this:
var dp = $('selector').Zebra_DatePicker();
then, somewhere else in your code, you might call
dp.update();
P.S. ne conversam in engleza ca sa pot da link-uri catre aceste discutii cand mai au si altii problema asta :)
from zebra_dialog.
Related Issues (20)
- How close modal in parent window from inside an iframe? HOT 2
- Zebra Dialog with Microsoft Edge HOT 8
- Add version number as public variable
- Focus lost on Android device HOT 2
- Add custom css on buttons
- IE8 compatibility broken
- How to send a value from zebra dialog? HOT 7
- Can I modify the dialog text? HOT 1
- Buttons are displayed in reverse order HOT 1
- Lose of Focus HOT 3
- center_buttons property not centering buttons in latest build HOT 3
- Change Request: Setting default type as false instead of info HOT 1
- if onSave callbacks returns false buttons are permanently disabled HOT 2
- Add option to make dialog draggable HOT 1
- Provide a way to know when a dialog is opening
- button support setting background color HOT 1
- Zebra Dialog won't dismiss... HOT 8
- Lost focus after close dialog. HOT 2
- Responsive HOT 16
- No iFrame Scrollbars on iPhones / Touch devices HOT 4
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 zebra_dialog.