Admin menu success message

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