The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
contains
get
YUI().use('gallery-querystring', function(Y) {
var qs = new Y.querystring();
var key = 'foo';
var mes = '';
if(qs.contains(key)){
mes = 'value is ' + qs.get(key);
}
else{
mes = 'not exist';
}
alert(mes);
});
Subject | Author | Date |
---|---|---|
YUI provides this | John Lindal | 06/11/12 |
All code on this site is licensed under the BSD License unless stated otherwise.