Select generator for LinkedIn Industries


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

You can run this in firebug to get yourself an up to date select with all the Industries listed on this page.

http://developer.linkedin.com/documents/industry-codes


Copy this code and paste it in your HTML
  1. select = jQuery('<select />').attr('id', 'myselect');
  2.  
  3. jQuery('body').append(select);
  4.  
  5. jQuery('.info tbody tr').each(function(index){
  6. option = jQuery('<option />')
  7. .attr('value', jQuery(this).find('td:first').html())
  8. .html(jQuery(this).find('td:last').html());
  9.  
  10. select.append(option);
  11. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.