Scruff Posted January 12, 2012 Posted January 12, 2012 Hi all, I'm in the process of putting together a web app which is pulling some class group info out of the CMIS db, using AD authentication I am currently able to build a list of the logged in users' assigned class groups, I want to be able to filter those class groups to a selected date's pertinent groups based on the input from a JavaScript calendar, but obviously the data is already pre-processed by the time any JavaScript interaction has begun on the client side, clearly it's not going to be the most dynamic of solutions but I would wish for the posting of the calendar value to not have to redirect to a completely different page. So my question is, does anyone have any bright ideas for how this could be achieved in the most seamless way possible. All i'm looking to do is modify a list menu's values from js that is made from data acquired from php If any of that makes sense Cheers Guys Robert
CESIL Posted January 12, 2012 Posted January 12, 2012 If your PHP writes the js array then you can do the filtering with javascript (jQuery probably) and the page can be dynamically updated without needing to reload it... the map() function is able to filter values into a new array that would be the values for your list... 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now