hello dears:
I am working on Windows8.1 WebView with $.ajax to get local file system.
My project has xml, resx, csv, html etc resource file.
xml or html is worked find in $.ajax but resx, csv file is error in $ajax.
this.webView.Navigate(new Uri("ms-appx-web:///html/index.html", UriKind.RelativeOrAbsolute));
- $.ajax({
- url: 'Resources/re.resx', // => NG
- //url: 'Resources/re.csv', // => NG
- //url: 'Resources/re.xml', // => OK
- //url: 'Resources/re.html', // => OK
- async: false,
- datatype: 'xml',
- success: function (data, textStatus, jqXHR) {
- window.external.notify("==========================");
- },
- error: function (jqXHR, textStatus, errorThrown) {
- window.external.notify("***********************");
- }
- });