Displaying 2 results from an estimated 2 matches for "overridemimetype".
2006 Apr 15
1
Begin with Autocompleter
...little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below:
1 function makeRequest(url,element) {
2 var http_request = false;
3 if (window.XMLHttpRequest) { // Mozilla, Safari,...
4 http_request = new XMLHttpRequest();
5 if (http_request.overrideMimeType) {
6 http_request.overrideMimeType(''text/xml'');
7 }
8 } else if (window.ActiveXObject) { // IE
9 try {
10 http_request = new ActiveXObject("Msxml2.XMLHTTP");
11 } catch (e) {
12 try {
13 http_request = new ActiveXObject("Microsoft.XMLHTTP");...
2008 Feb 28
15
Ajax.Updater response encoding Safari
new Ajax.Updater($(''toppanel''), ''/ajax/form.php'', {
parameters: {},
evalScripts: true,
insertion: Insertion.Before
});
form.php encoding is utf-8. page encoding is also utf-8.
Why response encoding is broken in Safari?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby