Lines Matching refs:th
402 var th = this.PENDING[d.id];
404 if (th) {
405 th._dataReady(d.text, d.js);
406 } else if (th !== false) {
450 var th = this;
452 if (!th.method) th.method = 'POST';
453 th.url += (th.url.indexOf('?') >= 0? '&' : '?') + 'JsHttpRequest=' + th.id + '-' + 'form';
458 if (th.method == 'GET') {
459 if (th.queryText) th.url += (th.url.indexOf('?') >= 0? '&' : '?') + th.queryText;
460 … if (th.url.length > JsHttpRequest.MAX_URL_LEN) return ['url_too_long', JsHttpRequest.MAX_URL_LEN];
461 var p = th.url.split('?', 2);
462 th.url = p[0];
463 th.queryText = p[1] || '';
469 if (th.queryElem.length) {
470 if (th.queryElem[0].e.tagName.toUpperCase() == 'FORM') {
472 form = th.queryElem[0].e;
474 th.queryElem = [];
477 form = th.queryElem[0].e.form;
479 for (var i = 0; i < th.queryElem.length; i++) {
480 var e = th.queryElem[i].e;
491 if (th.method == 'POST') {
503 var ifname = 'jshr_i_' + th.id;
504 var s = th.span = d.createElement('DIV');
509 …(form? '' : '<form' + (th.method == 'POST'? ' enctype="multipart/form-data" method="post"' : '') +…
512 form = th.span.firstChild;
561 var qt = th.queryText.split('&');
573 for (var i = 0; i < th.queryElem.length; i++) {
574 th.queryElem[i].e.name = th.queryElem[i].name;
581 ['action', th.url],
582 ['method', th.method],