Find inputs without ID


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var ghostInput = $('input').filter(function() { return !$(this).attr('id'); })

URL: http://stackoverflow.com/questions/1073779/how-can-i-get-the-elements-without-a-particular-attribute-by-jquery

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.