Return to Snippet

Revision: 64678
at September 6, 2013 06:33 by hcker2000


Initial Code
select = jQuery('<select />').attr('id', 'myselect');

jQuery('body').append(select);

jQuery('.info tbody tr').each(function(index){
    option = jQuery('<option />')
        .attr('value',  jQuery(this).find('td:first').html())
        .html(jQuery(this).find('td:last').html());
        
    select.append(option);
});

Initial URL


Initial Description
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

Initial Title
Select generator for LinkedIn Industries

Initial Tags
jquery

Initial Language
jQuery