OS = Win8, Node version = v0.6.2
I am trying to associate dynamically generated button elements:
[code simplified to fit on screen]
<button type="button" class="btn btn-primary btn-done" id="btn-file-done-2013-Feb-23" group="2013-Feb-23">Done</button>
with the following function:
//merge functions.
$(":button.btn-done").click(function() {
console.log('done clicked...');
});
The same piece of code works fine when i load the page up in a browser directly w\o going through node webkit. Am I missing something obvious or is this a known issue?
thanks,
Smita