Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Trigger state color after form submit #51

Open
garymn opened this issue May 31, 2015 · 0 comments
Open

Trigger state color after form submit #51

garymn opened this issue May 31, 2015 · 0 comments

Comments

@garymn
Copy link

garymn commented May 31, 2015

When a state is clicked it turns green and a form appears with PHP validation. After submitting, if there are errors, it will return to the same page and display the errors. The problem is the state selected is black not green - meaning it returns back to the default color. How can I submit the form, if it returns to the page, how can I keep the state clicked as green?

I've tried combining php and jquery using if and else statements, jquery load and click, but have not been successful. Can someone explain how this can be done?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant