Link to home
Start Free TrialLog in
Avatar of BOEING39
BOEING39

asked on

BOOTSTRAP JS ISSUES

I have an "datepicker" widget placed  inside a bootstrap application utilizing the accordion feature.   I have been attempting to place a datepicker inside the collapsible section with no success.  

There seems to be a conflict in the order of the scripts or their placement.   The scripts for the expand/collapse seem to override one another depending on where they are placed.   The code I am working with is contained in the attached "Master Page".

I require assistance in getting both the datepicker to work inside of the collapsible section.
Site.master
EXP-COL.aspx
Avatar of Duy Pham
Duy Pham
Flag of Viet Nam image

It seems that panels (using 'div' elements) in your EXP-COL.aspx is not properly formed, which might cause unexpected behaviors of accordion feature.
One more thing, in your Master page, you use $('#datepick').datepicker(...), it might not work when your control is placed inside your content page since control id will be adjusted with something like "ctl00_ContentPlaceHolderID_datepick".

You'd better use $('.datepick').datepicker(...) instead.
Avatar of BOEING39
BOEING39

ASKER

I tried as you suggest "no joy"    I tested the code outside of the master page independently and it functions correctly.  I keep think it is a script conflict or priority issue.
ASKER CERTIFIED SOLUTION
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Was able to identify problem working backward through program.