「毎秒出力のみ」という行が毎秒出力後に表示されるような関数を作成するにはどうすればよいですか?
$.get(dataurl + '?service=plug1&device1=' + device1 + '&device2=' + device2 + '', function(d){
var myText = ''
$(d).find('plug').each(function(){
myText += 'every output'
myText += 'only every second output'
});
)