Skip to content

Instantly share code, notes, and snippets.

/.java Secret

Created Aug 3, 2015
What would you like to do?
var addField = function (name, value) {
//check if the element is part of the "execute"-option before
//adding it to the request string
var fieldExecutable = isFieldExecutable(name);
if (fieldExecutable) {
var tmpStr = "";
if (qString.length > 0) {
tmpStr = "&";
tmpStr += encodeURIComponent(name)+"="+encodeURIComponent(value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment