Skip to content

Instantly share code, notes, and snippets.

@yratof
Created May 16, 2013 12:34
Show Gist options
  • Save yratof/5591401 to your computer and use it in GitHub Desktop.
Save yratof/5591401 to your computer and use it in GitHub Desktop.
var jbtle = jQuery(".jobtitle a").text();
jQuery(document).ready(function($){
$(".jobtitle a").each(function(){
$(this).click(function (){
$("#thejobtitle").html(jbtle);
});
});
});
@yratof
Copy link
Author

yratof commented May 16, 2013

How would you apply the html to an input? #the_job value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment