简体   繁体   中英

How do I prevent Datebox from affecting other input elements?

I currently have a form that has a bunch of input elements in it. I want to use Datebox's calendar feature for the input date.

My problem is that the CSS and JS that Datebox uses affects other input elements on the form. What is the best way to prevent Datebox's CSS affect other input forms?

Here's a jsFiddle link. (click here)

It appears it's the jquery mobile css that you're including doing the styling, not the datepicker. You could reset your input styles, though it's possible you don't want the jquery mobile stylesheet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM