91+ results for 'encodeURIComponent lang:Javascript' (0 ms)
Not the results you expected?
Serializer.js (https://github.com/ghiata/qooxdoo.git) JavaScript · 374 lines
99 if (value instanceof qx.core.Object && qxSerializer != null) {
100 var encValue = encodeURIComponent(qxSerializer(value));
101 if (encValue === undefined) {
102 var encValue = encodeURIComponent(value);
103 }
104 } else {
105 var encValue = encodeURIComponent(value);
106 }
107 return encodeURIComponent(name) + "=" + encValue + "&";
api.js (https://gitlab.com/artofhuman/gitlab-ce) JavaScript · 326 lines
100 // Return single project
101 project(projectPath) {
102 const url = Api.buildUrl(Api.projectPath).replace(':id', encodeURIComponent(projectPath));
104 return axios.get(url);
108 projectMergeRequest(projectPath, mergeRequestId, params = {}) {
109 const url = Api.buildUrl(Api.projectMergeRequestPath)
110 .replace(':id', encodeURIComponent(projectPath))
111 .replace(':mrid', mergeRequestId);
116 projectMergeRequestChanges(projectPath, mergeRequestId) {
117 const url = Api.buildUrl(Api.projectMergeRequestChangesPath)
118 .replace(':id', encodeURIComponent(projectPath))
119 .replace(':mrid', mergeRequestId);
comments.js (https://bitbucket.org/jaredstanley/facebook-js-sdk.git) JavaScript · 120 lines
SF_submit.js (https://github.com/ChuguluGames/mediawiki-svn.git) JavaScript · 150 lines
115 if (wgAction == "formedit") {
116 params += "&target=" + encodeURIComponent( wgPageName );
117 } else if ( wgCanonicalSpecialPageName == "FormEdit") {
133 if (stop >= 0) {
134 params += "&form=" + encodeURIComponent( url.substring(start, stop) );
136 start = stop + 1;
137 params += "&target=" + encodeURIComponent( url.substr(start) );
139 } else {
jquery.history.js (https://github.com/jrub/silexslides.git) JavaScript · 113 lines
js.cookie.js (https://github.com/cuckoobox/cuckoo.git) JavaScript · 151 lines
61 if (!converter.write) {
62 value = encodeURIComponent(String(value))
63 .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
64 } else {
66 }
68 key = encodeURIComponent(String(key));
69 key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
70 key = key.replace(/[\(\)]/g, escape);
io-form-debug.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 88 lines
stringify.js (https://gitlab.com/RedDedVolvo/solidgoald) JavaScript · 281 lines
WPForms.js (https://github.com/livinglab/openlab.git) JavaScript · 85 lines
53 $('body').append(modaldialog);
55 var query = encodeURIComponent(shortcode).split('%3D%22').join('=').split('%22%20').join('&');
57 var $iframe_template = $("<iframe src='" + window.ajaxurl + "?action=outofthebox-getpopup&type=shortcodebuilder&asuploadbox=1&" + query + "' width='100%' height='600' tabindex='-1' frameborder='0'></iframe>");
Serializer.js (https://github.com/Wkasel/qooxdoo.git) JavaScript · 344 lines
89 {
90 if (value instanceof qx.core.Object && qxSerializer != null) {
91 var encValue = encodeURIComponent(qxSerializer(value));
92 if (encValue === undefined) {
93 var encValue = encodeURIComponent(value);
94 }
95 } else {
96 var encValue = encodeURIComponent(value);
97 }
98 return encodeURIComponent(name) + "=" + encValue + "&";
script.js (https://bitbucket.org/miya0001/wp-typing.git) JavaScript · 132 lines
githugs.js (https://github.com/jakemcgraw/githugs-public.git) JavaScript · 121 lines
62 var body = [];
63 for (var key in data) {
64 body.push(key + '=' + encodeURIComponent(data[key]));
65 }
66 data = body.join('&');
73 var params = [];
74 for (var key in data) {
75 params.push(key + '=' + encodeURIComponent(data[key]));
76 }
77 this.request('GET', url + '?' + params.join('&'), false, callback);
main.js (https://github.com/xuwei-k/xuwei-k.github.com.git) JavaScript · 165 lines
panel.js (https://github.com/mozilla-b2g/gaia.git) JavaScript · 98 lines
parameters.js (https://github.com/PatientOrderSets/ICEfaces-1.8.2-Enhancements.git) JavaScript · 103 lines
settings.js (https://github.com/runeh/dragonfly-stp-1.git) JavaScript · 150 lines
publish.js (https://github.com/FesterCluck/npm.git) JavaScript · 106 lines
36 }
37 data._id = data.name+"@"+data.version
38 var attURI = encodeURIComponent(data.name)
39 + "/-/"
40 + encodeURIComponent(data.name)
41 + "-"
42 + encodeURIComponent(data.version)
43 + ".tgz"
44 data.dist = data.dist || {}
59 return log.er(cb, "Failed PUT response "+(response && response.statusCode))(er)
60 }
61 var dataURI = encodeURIComponent(data.name)+"/"+encodeURIComponent(data.version)
63 var tag = data.tag || npm.config.get("tag")
javascript.js (https://gitlab.com/JunaYa/JunaYa-blog) JavaScript · 113 lines
14 built_in:
15 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +
16 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +
17 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +
18 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +
jasmine-html.js (https://bitbucket.org/ezietsman/siyavula-annotator.git) JavaScript · 190 lines
58 var suite = suites[i];
59 var suiteDiv = this.createDom('div', { className: 'suite' },
60 this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, "run"),
61 this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, suite.description));
130 }
131 var specDiv = this.createDom('div', { className: 'spec ' + status },
132 this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
133 this.createDom('a', {
134 className: 'description',
135 href: '?spec=' + encodeURIComponent(spec.getFullName()),
136 title: spec.getFullName()
137 }, spec.description));
querystring-stringify-debug.js (https://gitlab.com/alidz1982/cdnjs) JavaScript · 112 lines
js.cookie.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 139 lines
56 } catch (e) {}
58 value = encodeURIComponent(String(value));
59 value = value.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
61 key = encodeURIComponent(String(key));
62 key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
63 key = key.replace(/[\(\)]/g, escape);
demo.js (https://github.com/aadrian/highcharts.com.git) JavaScript · 120 lines
jasmine_additions.js (https://github.com/heimidal/midas.git) JavaScript · 117 lines
68 }
69 var specDiv = this.createDom('div', { className: 'spec ' + status, style: style },
70 this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
71 this.createDom('a', {
72 className: 'description',
73 href: '?spec=' + encodeURIComponent(spec.getFullName()),
74 title: spec.getFullName()
75 }, spec.description));
addcslashes.js (https://gitlab.com/rickoverman/doo-cli) JavaScript · 158 lines
sha1.js (https://gitlab.com/link233/bootmw) JavaScript · 147 lines
jsCookieTest.js (https://gitlab.com/mohamed_hussein/prodt) JavaScript · 275 lines
PingServerFacts.js (https://gitlab.com/scgitlab/dsdsds) JavaScript · 81 lines
32 QUnit.asyncTimeoutTest(transport + " transport calls Ping Server with custom query string in url", testUtilities.defaultTestTimeout, function (end, assert, testName) {
33 var connection = testUtilities.createHubConnection(end, assert, testName),
34 expectedQs = window.encodeURIComponent(testName),
35 savedAjax = $.ajax,
36 testPingServer = function () {
axurerp_pagespecificscript.js (https://github.com/openstate/Wiekiesjij.git) JavaScript · 313 lines
person.js (https://gitlab.com/mikebavon/TripTicket) JavaScript · 122 lines
42 var confpass = document.getElementById('regconfirmpass').value;
44 var params = 'fname=' + encodeURIComponent(fname)
45 + '&lname=' + encodeURIComponent(lname)
46 + '&id=' + encodeURIComponent(id)
47 + '&username=' + encodeURIComponent(username)
48 + '&password=' + encodeURIComponent(password);
50 if (password == confpass){
79 var password = document.getElementById('password').value;
81 var params = 'username=' + encodeURIComponent(username)
82 + '&password=' + encodeURIComponent(password);
details.js (https://github.com/FriedWishes/showslow.git) JavaScript · 102 lines
83 {
84 height: "15em",
85 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + ydataversion
86 });
89 {
90 height: "15em",
91 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + psdataversion
92 });
95 {
96 height: "15em",
97 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + dtdataversion
98 });
99 }
query.js (https://github.com/raidrush-dev/JNode.git) JavaScript · 461 lines
cp.js (https://github.com/bigswitch/snac.git) JavaScript · 117 lines
trees.js (https://github.com/webpulser/forgeos_cms.git) JavaScript · 94 lines
encode.js (https://github.com/v0lkan/o2.js.git) JavaScript · 138 lines
actions_spec.js (https://gitlab.com/klml/gitlab-ee) JavaScript · 448 lines
script.js (https://github.com/anod/Web-Admin-Lite-Perl.git) JavaScript · 136 lines
bootstrap-table-cookie.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 234 lines
36 }
38 document.cookie = encodeURIComponent(cookieName) + '=' + encodeURIComponent(sValue) + calculateExpiration(vEnd) + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '') + (bSecure ? '; secure' : '');
39 return true;
40 };
45 return null;
46 }
47 return decodeURIComponent(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null;
48 };
52 return false;
53 }
54 return (new RegExp('(?:^|;\\s*)' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie);
55 };
yql.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 197 lines
application.js (https://github.com/GerManson/german.pikevo.com.git) JavaScript · 115 lines
test.js (https://bitbucket.org/asergeev1970/complaints.git) JavaScript · 1242 lines
form.js (https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git) JavaScript · 298 lines
chunked-uploads.js (https://github.com/vaibhav011286/file-uploader.git) JavaScript · 346 lines
143 assert.ok(!uploadRequest.requestHeaders["x-ms-meta-qqfilename"]);
144 assert.equal(uploadRequest.method, "PUT");
145 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00000")));
146 uploadRequest.respond(201, null, null);
160 assert.ok(!uploadRequest.requestHeaders["x-ms-meta-qqfilename"]);
161 assert.equal(uploadRequest.method, "PUT");
162 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00001")));
163 uploadRequest.respond(201, null, null);
237 assert.equal(fileTestHelper.getRequests().length, 3);
238 uploadRequest = fileTestHelper.getRequests()[2];
239 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00000")));
240 uploadRequest.respond(404, null, null);
241 assert.equal(uploader.getUploads()[0].status, qq.status.UPLOAD_FAILED);
web_pdf_preview.js (https://gitlab.com/darmawan.fatria/provjabar-upkp-addons) JavaScript · 125 lines
27 };
28 var url = self.session.url('/report/preview', params);
29 //window.open('/report/preview?data=' + encodeURIComponent(JSON.stringify(response)) + '&token=' + new Date().getTime() + '&session_id=' + self.session.session_id, 'report', '');
30 window.open(url, 'report', '');
31 instance.web.unblockUI();
65 }
66 } else {
67 report_url += "?options=" + encodeURIComponent(JSON.stringify(action.data));
68 report_url += "&context=" + encodeURIComponent(JSON.stringify(action.context));
qwebactionmanager.js (https://gitlab.com/darmawan.fatria/provjabar-pelayanan-pendidikan-addons) JavaScript · 97 lines
encode_decode_uri.js (https://gitlab.com/AnneSmile/v8) JavaScript · 102 lines
cookie.js (https://github.com/apontes/RouteFlow.git) JavaScript · 102 lines
test.js (https://gitlab.com/emad.rashad/mls-grading) JavaScript · 1260 lines
git.js (https://github.com/tpurtell/changedna.git) JavaScript · 88 lines
appFolderList.js (https://bitbucket.org/ferOnti/processmaker.git) JavaScript · 297 lines
form.js (https://gitlab.com/axeltizon/magento-demopoweraccess) JavaScript · 194 lines
gestionBodega.js (https://bitbucket.org/juliojavieer/prueba_03.git) JavaScript · 216 lines
config-6728244dac0c5efcd52dd3415680536b746da4ebc863f0d7322891e465c36303.js (https://gitlab.com/slice-group/paraguana-mall-w) JavaScript · 131 lines
cookies.js (https://gitlab.com/alidz1982/cdnjs) JavaScript · 156 lines
test.js (https://github.com/JianMeng/sproutcore.git) JavaScript · 314 lines
GAPokki.js (https://github.com/CambriaK/Pokki-1.git) JavaScript · 230 lines
main.js (https://bitbucket.org/WarrenFNS/epsconnect.git) JavaScript · 258 lines
219 url = url + "&loc=" + Location;
220 url = url + "&rowID=" + Location + "AER" + new Date().getTime();
221 url = url + "&name=" + encodeURIComponent(getElementObject("afterERName").value);
222 url = url + "&desc=" + encodeURIComponent(getElementObject("afterERDesc").value);
223 url = url + "&addr=" + encodeURIComponent(getElementObject("afterERAddr").value);
224 url = url + "&city=" + encodeURIComponent(getElementObject("afterERCity").value);
225 url = url + "&zip=" + encodeURIComponent(getElementObject("afterERZip").value);
226 url = url + "&tel=" + encodeURIComponent(getElementObject("afterERTel").value);
237 url = url + "?category=AfterER";
238 url = url + "&loc=" + Location;
239 url = url + "&rowID=" + encodeURIComponent(currAfterER);
240 url = url + "&name=" + encodeURIComponent(getElementObject("afterERName").value);
241 url = url + "&desc=" + encodeURIComponent(getElementObject("afterERDesc").value);
242 url = url + "&addr=" + encodeURIComponent(getElementObject("afterERAddr").value);
hash.js (https://github.com/jwheare/prototype.git) JavaScript · 223 lines
152 function toQueryPair(key, value) {
153 if (Object.isUndefined(value)) return key;
154 return key + '=' + encodeURIComponent(String.interpret(value));
155 }
162 function toQueryString() {
163 return this.inject([], function(results, pair) {
164 var key = encodeURIComponent(pair.key), values = pair.value;
166 if (values && typeof values == 'object') {
browser_rules_pseudo_lock_options.js (https://github.com/rillian/firefox.git) JavaScript · 131 lines
worker_fileReader.js (https://github.com/rillian/firefox.git) JavaScript · 419 lines
xd.js_1346385827.m.js (https://bitbucket.org/tislamov/xdc.git) JavaScript · 112 lines
101 else
102 {if(config.canClose){$('.cancel-window').click(function(ev){window.location=location.href;$(this).parents().dialog('close');return false;});}else{$('.cancel-window').remove();}}}});$('#registerForm').ajaxForm({beforeSend:function(){that.doAjaxFormBeforeSend({formId:'#registerForm'});},success:function(data){data=$.parseJSON(data);$('button[type=submit]','#registerForm').attr('disabled',false).removeClass('disabled').fadeTo(100,1);that.doAjaxFormSuccess({formId:'#registerForm',data:data,errorsPrefix:'RegistrationForm_',inputPrefix:'user[',inputPostfix:']',statusSuccess:function(response){return that.redirect({to:response.redirectUrl});}});},error:function(xhr,status,response){that.doAjaxFormError({formId:'#registerForm','xhr':xhr});}});if(config.canClose){$('.cancel-window').click(function(ev){window.location=location.href;$(this).parents('.ui-dialog-content').dialog('close');return false;});}else{$('.cancel-window').remove();}
103 $('.register-box-footer-link').live('click',function(ev){var tabIndex=parseInt($(this).attr('data-tabIndex'));$('#registration-tabs').tabs('select',tabIndex);return false;});$('a','#dialog-sign-up-button').attr('draggable',false);},ajaxLoader:''});if(config.autoShow){$(selector).trigger('click');}},updateLocationHash:function(pagerId){var newLocation=$('.pagination .selected > a:first','#'+pagerId).attr('href');if(newLocation){$.bbq.pushState(pagerId+'='+newLocation);}},loadLocationHash:function(listId){$(window).bind('hashchange',function(e){var list=$('#'+listId);var currentUrl=$('.pagination .selected > a:first',list).attr('href').replace(/\+/g,'%20');var loadUrl=$.bbq.getState(listId);loadUrl=loadUrl?encodeURI(loadUrl).replace(/,/,encodeURIComponent(',')):loadUrl;if(loadUrl&&(currentUrl!==loadUrl)){list.yiiListView.update(listId,{url:loadUrl});}});$(window).trigger('hashchange');},trackGAURL:function(options){var _events=this.getGlobal('gaEvents');options=$.extend({url:window.location.href,ev:''},options);if(options.ev!=''&&!_events[options.ev]){return false;}
104 var _trackUrl='{url}{glueString}{eventName}';var eventName=options.ev===''?'':'ev='+_events[options.ev];var _glueString=eventName!==''?(options.url.search(/\?/)>-1?'&':'?'):'';_trackUrl=_trackUrl.replace('{url}',options.url).replace('{glueString}',_glueString).replace('{eventName}',eventName);this.loadGAParams({'_trackPageview':_trackUrl});return true;},loadGAParams:function(moreParams){var params=this.getGlobal('GAParams');if(moreParams!=='undefined'){params=$.extend(params,moreParams);}
105 _gaq=typeof(_gaq)!=='undefined'?_gaq:[];$.each(params,function(GAParam,value){if(value&&value!==''){_gaq.push([GAParam,value]);}});},focus:function(options){options=$.extend({cnt:null,isId:false,filter:'input[type="text"]:first,textarea:first'},options);if(options.isId){options.cnt='#'+options.cnt.replace('#','');}
cookie.js (https://gitlab.com/essere.lab.public/qualitas.class-corpus) JavaScript · 77 lines
xhr.js (https://gitlab.com/jiangming1399/luci) JavaScript · 262 lines
119 {
120 code += (code ? '&' : '') +
121 form.elements[i].name + '=' + encodeURIComponent(
122 e.options[e.selectedIndex].value
123 );
128 if (e[j].name) {
129 code += (code ? '&' : '') +
130 e[j].name + '=' + encodeURIComponent(e[j].value);
131 }
132 }
134 {
135 code += (code ? '&' : '') +
136 e.name + '=' + encodeURIComponent(e.value);
137 }
138 }
TweetBox.js (https://gitlab.com/alidzapp/TweetSplitter) JavaScript · 66 lines
13 this.domElement.value += this.currentCountTag;
15 $("#wrapper").append("<div id='tweets" + this.idNum + "' class='row clearfix'><div id = 'tweetColumn" + this.idNum + "' class='col-xs-8 column'></div><div id= 'buttons" + this.idNum + "' class='col-xs-4 column'><div class='row clearfix'><a class='btn btn-primary' id='custom-tweet-button" + this.idNum + "' >Tweet</a></div><div class='row clearfix'><label id='count" + this.idNum + "' for='tweet'></label></div><script> document.getElementById('custom-tweet-button" + this.idNum + "').addEventListener('click', function (el) { el.target.href = ''; var tweet = encodeURIComponent(($('#tweet" + this.idNum + "').val())); el.target.href = href='http://twitter.com/intent/tweet?text=' + tweet});</script></div></div>");
16 document.getElementById("tweetColumn" + this.idNum + "").appendChild(this.domElement);
AuthView.js (https://gitlab.com/atomfrede/jhipster-ci-example-gradle) JavaScript · 178 lines
141 redirect_uri = redirectUrl;
143 url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
144 url += '&realm=' + encodeURIComponent(realm);
145 url += '&client_id=' + encodeURIComponent(clientId);
146 url += '&scope=' + encodeURIComponent(scopes.join(scopeSeparator));
147 url += '&state=' + encodeURIComponent(state);
148 for (var key in additionalQueryStringParams) {
149 url += '&' + key + '=' + encodeURIComponent(additionalQueryStringParams[key]);
functions.js (https://github.com/jrschumacher/jobberbase.git) JavaScript · 112 lines
storage.permissions.js (https://github.com/Setuber/Ringify.git) JavaScript · 148 lines
4 var useQueues = $("[id=Queues_" + userId + "]:checked").val() !== undefined;
6 actionUrl = actionUrl.replace("_user_", encodeURIComponent(userId));
7 actionUrl = actionUrl.replace("_useTables_", encodeURIComponent(useTables));
8 actionUrl = actionUrl.replace("_useBlobs_", encodeURIComponent(useBlobs));
9 actionUrl = actionUrl.replace("_useQueues_", encodeURIComponent(useQueues));
15 var isPublic = $("[id=Public_" + storage + "]").val() == "false";
17 actionUrl = actionUrl.replace("_storage_", encodeURIComponent(storage));
18 actionUrl = actionUrl.replace("_isPublic_", encodeURIComponent(isPublic));
44 actionUrl = hasAccess ? addPermissionActionUrl : removePermissionActionUrl;
46 actionUrl = actionUrl.replace("_storage_", encodeURIComponent(storage));
47 actionUrl = actionUrl.replace("_user_", encodeURIComponent(userId));
ngConstellation-1.8.0.js (https://gitlab.com/psyked/Promethee) JavaScript · 225 lines
search.js (https://github.com/johannesloetzsch/evopedia.git) JavaScript · 105 lines
prototype.js
(http://fatal-error.googlecode.com/svn/trunk/)
JavaScript · 3269 lines
✨ Summary
This JavaScript code defines a set of functions and classes for working with CSS selectors, including parsing, manipulating, and evaluating selector expressions. It provides a robust framework for querying HTML documents based on CSS selectors, allowing developers to efficiently search and manipulate elements in the DOM. The code is designed to be flexible and extensible, supporting various types of selectors and attributes.
This JavaScript code defines a set of functions and classes for working with CSS selectors, including parsing, manipulating, and evaluating selector expressions. It provides a robust framework for querying HTML documents based on CSS selectors, allowing developers to efficiently search and manipulate elements in the DOM. The code is designed to be flexible and extensible, supporting various types of selectors and attributes.
popup.js (https://bitbucket.org/peixuan/chromium_r197479_base.git) JavaScript · 83 lines
ByteArray.js (https://github.com/teamdstn/dstnation.git) JavaScript · 564 lines
ajax.js (https://github.com/ronnylt/spine.git) JavaScript · 204 lines
cookie.js (https://github.com/natos/WhatsOn.git) JavaScript · 172 lines
tw-sack.dev.js (https://gitlab.com/Mirros/jsdelivr) JavaScript · 193 lines
62 this.encVar = function(name, value, returnvars) {
63 if (true == returnvars) {
64 return Array(encodeURIComponent(name), encodeURIComponent(value));
65 } else {
66 this.vars[encodeURIComponent(name)] = Array(encodeURIComponent(value), true);
70 this.processURLString = function(string, encode) {
71 encoded = encodeURIComponent(this.argumentSeparator);
72 regexp = new RegExp(this.argumentSeparator + "|" + encoded);
73 varArray = string.split(regexp);
fetch.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 218 lines
stringify.js (https://gitlab.com/INF3190/lab-server) JavaScript · 679 lines
userprofiletoolbar.get.js (https://github.com/deas/alfresco.git) JavaScript · 99 lines
15 model.followers = -1;
17 var following = remote.call("/api/subscriptions/" + encodeURIComponent(userId) + "/following/count");
18 if (following.status == 200)
19 {
22 if (model.activeUserProfile)
23 {
24 var followers = remote.call("/api/subscriptions/" + encodeURIComponent(userId) + "/followers/count");
25 if(followers.status == 200)
26 {
toolbar.get.js (https://github.com/deas/alfresco.git) JavaScript · 67 lines
compat.js (https://gitlab.com/bruce.ng/angularjs-lesson) JavaScript · 84 lines
env.robot.js (https://gitlab.com/bruce.ng/alloy-ui) JavaScript · 95 lines
search_result.js (https://bitbucket.org/schatt/chorus.git) JavaScript · 200 lines
qs.js (https://bitbucket.org/keithelliott/gittielabs.git) JavaScript · 351 lines
262 function stringifyString(str, prefix) {
263 if (!prefix) throw new TypeError('stringify expects an object');
264 return prefix + '=' + encodeURIComponent(str);
265 }
300 key = keys[i];
301 ret.push(stringify(obj[key], prefix
302 ? prefix + '[' + encodeURIComponent(key) + ']'
303 : encodeURIComponent(key)));
binary_parser.js (https://github.com/jsjohnst/node-mongodb-native.git) JavaScript · 253 lines
attachment_paths.js (https://github.com/farshidce/jscouchtests.git) JavaScript · 156 lines
test-net-url.js (https://bitbucket.org/skudatech/addon-sdk.git) JavaScript · 212 lines
content-symbiont.test.js (https://github.com/kaiquewdev/chromeless.git) JavaScript · 152 lines
index.js (https://gitlab.com/MichelZuniga/node) JavaScript · 101 lines
git-host.js (https://gitlab.com/MichelZuniga/node) JavaScript · 96 lines
cmd.js (https://gitlab.com/knax/extjs) JavaScript · 184 lines
kontagent_api.js (https://github.com/d1on/javascript-sdk.git) JavaScript · 858 lines
MicrosoftMvcAjax.debug.js
(https://hg01.codeplex.com/aspnetmobilesamples)
JavaScript · 409 lines
✨ Summary
This JavaScript code is part of a web application framework, specifically for ASP.NET MVC. It provides functionality for handling form submissions asynchronously using AJAX requests. The code includes classes and methods for serializing forms, handling form validation, and updating DOM elements with server responses. It also registers custom classes for the framework’s components.
This JavaScript code is part of a web application framework, specifically for ASP.NET MVC. It provides functionality for handling form submissions asynchronously using AJAX requests. The code includes classes and methods for serializing forms, handling form validation, and updating DOM elements with server responses. It also registers custom classes for the framework’s components.
149 if (name) {
150 var tagName = element.tagName.toUpperCase();
151 var encodedName = encodeURIComponent(name);
152 var inputElement = element;
153 if (tagName === 'INPUT') {
154 var type = inputElement.type;
155 if (type === 'submit') {
156 return encodedName + '=' + encodeURIComponent(inputElement.value);
157 }
158 else if (type === 'image') {
161 }
162 else if ((tagName === 'BUTTON') && (name.length) && (inputElement.type === 'submit')) {
163 return encodedName + '=' + encodeURIComponent(inputElement.value);
164 }
165 }