I am developing a project where the index.html page is located in /sd/pasar/
/sd/pasar/index.html
I have no problems to see the page here:
http://192.168.0.105/sd/pasar/
In this webpage there is a button to open a new page to see the streamer of the webcam, as explained in this forum. I can see the video streaming here::
http://192.168.0.105:8080/javascript_simple.html
I have modified the javascript_simple.html file to have buttons. However, I cannot send any command to the Yun, probably because the javascript_simple.html file is located in
root/www/webcam/javascript_simple.html
I have the same button in both pages with this command:
$.get('/arduino/msg/luz/')
of course it works well with index.html. No works with javascript_simple.html. I have tried for javascript_simple.html file the following commands:
$.get('192.168.0.105/sd/pasar/arduino/msg/luz/')
$.get('http://192.168.0.105/sd/pasar/arduino/msg/luz/')
with no sucess.
Any help, please? Which is the correct command for javascript_simple.html?
Thanks in advance.