In wikitude AR world i am creating a button using a image resource and the ImageDrawable method. And then i making it clickable. Within the onclick event i am trying to
connect to a php server and do certain operation on mysql database. For that purpose i am using following jquery methods $.ajax,$.post,$.get. But this piece of code doesn't work here.
Most important point is that to make sure that code inside button click event is correct i have seperately created a webpage and there i am trying to do the same operation and it works very well.
over 2 years ago
Please check the following:
* did you include the required jQuery files in your index.html * did you configue your endpoint in a way that it allows Access-Control-Allow-Origin ? * Debug the webView to highlight potential JS (syntax) errors - Android Guide, iOS Guide