Skip to content

Instantly share code, notes, and snippets.

@DylanLacey
Created November 15, 2011 07:54
Show Gist options
  • Save DylanLacey/1366419 to your computer and use it in GitHub Desktop.
Save DylanLacey/1366419 to your computer and use it in GitHub Desktop.
jquery shizzle
new_input = $('<input type="hidden">', {
name: "job_" + pickup + '[]',
text: $("#element").val + 'order : ' + index
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment