How can we select multiple images in a meteor application?
I could not find anything in http://ift.tt/1OLJjRg
Can a jquery script run in meteor application?
$('img').live('click', function(){
var $this = $(this);
$this.toggleClass('selected');
if($this.hasClass('selected'))
$this.next(':hidden').val($this.data('id'))
else
$this.next(':hidden').val('');});$('form').submit(function(){
console.log($(this).serialize());
return false;
})
Aucun commentaire:
Enregistrer un commentaire