0

I have created a simple admin menu that allows users to enter in some basic information that is stored in the footer.

When they click save the url appends &settings-updated=true

Is there a way, using jQuery to show a success/fail message?

Can anyone show me how or give me an example?

Thanks in advance, George

0

1 Answer 1

1

See the top answer on this Stackoverflow question. Basically you need to use:

decodeURI((RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]);

Get URL parameter with jQuery

1
  • Hi thanks, I'm not that technically able, could you help decode or explain how the actual code would need to work? Aug 3, 2011 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.