Reputation: 13
I'm trying to create an app on Windows Phone 8 with Cordova 3.3.0.
I create a new app Cordova 3.3.0. Then i change the file 'index.html' to include 'js/index.js' like that :
The script is never loaded when i add some parameters in the URL.
Any idea please ?
Thanks by advance,
Upvotes: 1
Views: 509
Reputation: 28
In Windows Phone platform Cordova server always returns status 404 when try to get a page with any type of params. It not works with get params (?key=value) nor as location hash (#param).
Upvotes: 0
Reputation: 2170
This is only possible by accessing own
element in the HTML DOM and parse the src attribute.
here's a nice article with detailed explanations and code samples: http://feather.elektrum.org/book/src.html
Upvotes: 0
Reputation: 379
pages with .js extension should not be taking any parameters.
Upvotes: 1