Including javascript function, does not work on android -
i'm trying solve strange problem. have realized personnalized project 2 weeks ago creating personnalized widget , event on them , result want deploy on android device. example, link : http://jsfiddle.net/fc8hl/ show checkbox example :
--> first div container can include many checkboxes
--> second div checkbox container
--> 3 img in previous div differents images appear according mouse/touch event on checkbox.
--> js function "check(e)" allows me treat these 3 images , event.
this function works on both local computer , android device! have realized others functions in order put in html buttons, radio , combobox.
some events attributed widgets. problem : final html file huge : indeed, there 1 function per img , optimize creating javascript file. easy, put
<script "checkbox.js"> ***my existing function works !*** </script>
and when open html file... surprise ! works on local computer, not on android device... seeing issue problem ?
ok guys,
i have debugged program epascarello link, , found problem.
on remote computer, error showing :
"failed load resource: server responded status of 403 (forbidden)"
all files on server , didn't change reading options on them, that's why couldn't access javascripts functions included in these files. bad mistake...
thanks lot :)
Comments
Post a Comment