¡@

Home 

2014/10/16 ¤W¤È 12:09:22

jquery Programming Glossary: themevalue

Using data attributes with jQuery

http://stackoverflow.com/questions/7602565/using-data-attributes-with-jquery

this button button type button class themeChanger data themeValue grid value Grid img src templateImages Icon_200.png button.. jQuery .themeChanger .click function alert this .attr data themeValue alert this .data themeValue For some reason the first alert.. function alert this .attr data themeValue alert this .data themeValue For some reason the first alert shows grid like it should but..

Using data attributes with jQuery

http://stackoverflow.com/questions/7602565/using-data-attributes-with-jquery

data attributes with jQuery I have this button button type button class themeChanger data themeValue grid value Grid img src templateImages Icon_200.png button And this jQuery .themeChanger .click function alert this .attr.. Grid img src templateImages Icon_200.png button And this jQuery .themeChanger .click function alert this .attr data themeValue alert this .data themeValue For some reason the first alert shows grid like it should but the second shows undefined. Is.. Icon_200.png button And this jQuery .themeChanger .click function alert this .attr data themeValue alert this .data themeValue For some reason the first alert shows grid like it should but the second shows undefined. Is there something stupid I'm..