Search:
Type: Posts; User: UserBee
Search:
Search took 0.07 seconds.
-
how do you add geolocation permission in a manifest? havent done it before!
-
I am. using chrome and firefox now for testing
-
I am following the example of this code from w3schools. The code below works on their website. But when I put it on my own webserver, and open it on browser, the browser doesnt ask for permission...
-
Can I have a learning example ? Oh I think that would be lengthy.
-
should i just do it with the native android app?
-
no, just a website. I just dont like that my cookie or my data be deleted when they clear the app cache because it store data about login and registration.
-
I asked this coz i need to write text to file in an ndroid or ios operating syatem. any advice?
-
aside from using cookies or localStorage, how can I use javascript to write to a file in windows OS, android OS or ios OS ?
-
I am using xmlhttprequest to get json string from phpcurl from a php file and put the value on document.getElementById("div1").innerHTML = xhttp.responseText then retrieve the value of ...
-
I am using this spinner code below :
<div id="spinner" style="visibility:hidden;" class="text-center">
<div class="spinner-border" role="status"></div>
</div>
And set the...
-
yes progress indicator. been looking something like that. been from vb. net so i only know progressbar. thanks for the link and the snippet. gotta read that article now. thanks again dday.
-
So I am executing a XMLHttpRequest on button click. For some time, the user will not see any progress or status of the response.
The response may take awhile on receiving the reaponse.
How...
-
yeah, so the loadXMLDoc method is recurse by the return keyword but what Im curious is that if the use of that return keyword read back the if statement that way? i just would like to clarify myself...
-
how does it recurse? by the return statement? does that mean it will go back to the if statement? sorry for asking because i have not tried that way before. i use the return word for functions only.
-
isnt If statement only checked and executed once with that way? how do the return statement affects the loop that way. so that means the return makes the loop back to the if statement?
on the...
-
yes, a 200 response, ready state=4 and the response is not null because the server may not respond in time or accordingly
-
How do you loop this code to make sure that it is on its ready state and status at 200 and has valid response?
I did try using While loop but there is no response still or so I think.
...
-
may I ask, what is that (data) and (text) ?
-
may I ask, what is that (data) and (text) ?
-
So I am using ajax to get data from my php file like so below and it works for DIV element using the but if I change it to Input tag element, it gets the whole innerHTML data.
FOR DIV TAG
...
-
I found the problem dday. It was the resulting output of curl that lacking backslash that is why there is Null in this point parsedObject = null;
Thanks. Moving on.
-
I still having issues on empty result
-
I have this code below which I want to loop to check if variable hp length is zero or greater than zero else go back to check the value of hp.
For some reason, the call of setopt() in the else if...
-
can I request for GET method?
-
i cant type the whole this because im on mobile. but for purposes of example, just any curl request string
-
I am executing php curl and get the data on button click
-
I am revising my code below and it does not affecting the slow execution. I have another goal to achieve which is if callC results to zero length string, then callB will sleep for 2 seconds and call...
-
-
<script>
function callB()
{
callA();
}
function callA()
{
alert("called");
}
-
I searched the internet on how to execute php thru javascript and the answer I found is no you cant.
Is there a way to call php using javascript ? May I ask for a simple code for it ?
...
-
modified my code to below but still there are instances of blank / empty results. i already disabled the timeout limit of php curl execution.
<script>
var distances;
var...
-
-
I modified it to my need like below but there are still instances of empty result.
<script>
var distances;
var parsedObject;
var a;
function init()
-
@dday9, there are times that the result is empty, how is that happening or what can i do to catch it the error?
-
-
wow. now I appreciated json string more. thank you very much dday9. You are very helpful. I cant thank you enough sincerely. God bless.
-
dday9, yes it is a json string and thanks for your reply. I will just post beautified json string below. I see in your code that you used distances section. but actually i will be needing the...
-
I have this string below as follows :
...
|
Click Here to Expand Forum to Full Width
|