Posted By

hcker2000 on 09/06/13


Tagged

jquery Linkedin industry industries


Versions (?)

Select generator for LinkedIn Industries


 / Published in: jQuery
 

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

  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  

You need to login to post a comment.