Lines Matching refs:th
403 var th = this.PENDING[d.id];
405 if (th) {
406 th._dataReady(d.text, d.js);
407 } else if (th !== false) {
587 var th = this, d = document, s = null, b = d.body;
593 if (s.setAttribute) s.setAttribute('src', th.url); else s.src = th.url;
608 if (s.setAttribute) s.setAttribute('src', th.url); else s.src = th.url;
637 var th = this;
639 if (!th.method) th.method = 'POST';
640 th.url += (th.url.indexOf('?') >= 0? '&' : '?') + 'JsHttpRequest=' + th.id + '-' + 'form';
645 if (th.method == 'GET') {
646 if (th.queryText) th.url += (th.url.indexOf('?') >= 0? '&' : '?') + th.queryText;
647 … if (th.url.length > JsHttpRequest.MAX_URL_LEN) return ['url_too_long', JsHttpRequest.MAX_URL_LEN];
648 var p = th.url.split('?', 2);
649 th.url = p[0];
650 th.queryText = p[1] || '';
656 if (th.queryElem.length) {
657 if (th.queryElem[0].e.tagName.toUpperCase() == 'FORM') {
659 form = th.queryElem[0].e;
661 th.queryElem = [];
664 form = th.queryElem[0].e.form;
666 for (var i = 0; i < th.queryElem.length; i++) {
667 var e = th.queryElem[i].e;
678 if (th.method == 'POST') {
690 var ifname = 'jshr_i_' + th.id;
691 var s = th.span = d.createElement('DIV');
696 …(form? '' : '<form' + (th.method == 'POST'? ' enctype="multipart/form-data" method="post"' : '') +…
699 form = th.span.firstChild;
748 var qt = th.queryText.split('&');
760 for (var i = 0; i < th.queryElem.length; i++) {
761 th.queryElem[i].e.name = th.queryElem[i].name;
768 ['action', th.url],
769 ['method', th.method],