jquery-phoenix
jquery-phoenix copied to clipboard
no data load?
Hi, this is the code
$('input').bind('phnx.loaded', function(e) {
console.log('loaded')
});
$('input').bind('phnx.saved', function(e) {
console.log('saved')
});
$('input').phoenix();
When I reload the page I see 'phnx.loaded' event fired but no data are in the inputs fields, what am I doing wrong? Using an #id as selector works, so what's the problem here?