jquery Programming Glossary: datadiv.data
Unable to set data attribute using jQuery Data() API http://stackoverflow.com/questions/6827810/unable-to-set-data-attribute-using-jquery-data-api ' li ' logText ' ' logValue ' li ' 'Initial data key' dataDiv.data 'key' '#changeData' .click function dataDiv.data 'key' 'ryu'.. data key' dataDiv.data 'key' '#changeData' .click function dataDiv.data 'key' 'ryu' addLog Set value with .data 'key' 'ryu' dataDiv.data.. 'key' 'ryu' addLog Set value with .data 'key' 'ryu' dataDiv.data 'key' dataDiv.attr 'key' 'ryu' addLog Set value .attr 'key'..
Unable to set data attribute using jQuery Data() API http://stackoverflow.com/questions/6827810/unable-to-set-data-attribute-using-jquery-data-api log 'ul' var addLog addLog function logText logValue log.append ' li ' logText ' ' logValue ' li ' 'Initial data key' dataDiv.data 'key' '#changeData' .click function dataDiv.data 'key' 'ryu' addLog Set value with .data 'key' 'ryu' dataDiv.data 'key'.. log.append ' li ' logText ' ' logValue ' li ' 'Initial data key' dataDiv.data 'key' '#changeData' .click function dataDiv.data 'key' 'ryu' addLog Set value with .data 'key' 'ryu' dataDiv.data 'key' dataDiv.attr 'key' 'ryu' addLog Set value .attr 'key'.. key' dataDiv.data 'key' '#changeData' .click function dataDiv.data 'key' 'ryu' addLog Set value with .data 'key' 'ryu' dataDiv.data 'key' dataDiv.attr 'key' 'ryu' addLog Set value .attr 'key' 'ryu' dataDiv.data 'key' bonus points addLog Cannot get with..
|