equal
deleted
inserted
replaced
41 ajax.setRequestHeader("Connection", "close"); |
41 ajax.setRequestHeader("Connection", "close"); |
42 ajax.send(parms); |
42 ajax.send(parms); |
43 } |
43 } |
44 |
44 |
45 function ajaxEscape(text) |
45 function ajaxEscape(text) |
|
46 { |
|
47 /* |
|
48 text = escape(text); |
|
49 text = text.replace(/\+/g, '%2B', text); |
|
50 */ |
|
51 text = window.encodeURIComponent(text); |
|
52 return text; |
|
53 } |
|
54 |
|
55 function ajaxAltEscape(text) |
46 { |
56 { |
47 text = escape(text); |
57 text = escape(text); |
48 text = text.replace(/\+/g, '%2B', text); |
58 text = text.replace(/\+/g, '%2B', text); |
49 return text; |
59 return text; |
50 } |
60 } |