0
我要选择所有链接(我想保存的a
标签到文件href
),然后保存到一个文本文件保存为文本文件:选择页面上的所有链接,并使用jquery
$('a.show').each(
function(){
//save into text file
// file=$(this).attr('href'); // something like this
}
);
我怎样才能去做?
请参考[如何使用js保存文件](http://stackoverflow.com/questions/13405129/javascript-create-and-save-file) –
Is .show class comman to all a –
@Somnath yes all a有同一班 –