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

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

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

link|improve this answer
Hi thanks, I'm not that technically able, could you help decode or explain how the actual code would need to work? – George Wiscombe Aug 3 '11 at 16:37
feedback

Your Answer

 
or
required, but never shown

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