I am creating a simple form (post method) using HTML and PHP for backend. After submitting the form, I am adding form data to database. The problem here is when page is refre...
I figured out a way to do this. var script = document.getelementbytagname ("script"); var a = script[0].src.split("?").pop().split("&"); var object = {}; for (var j = 0; j...
I have one doubt here that iframe helps to keep the content isolated from the main page and provide security to customers page , as in I'll have access only to the iframe area...
I want to make GET API call using js and I don't know how to do it. I searched on the Google but still not clear. Anyone having resources or can tell how to do it?
I am creating a simple form (post method) using HTML. After submitting the form, I want to stay on same page. The problem here is even after refresh the form data is still pre...
I am using html js and php for server side. I have 2 different div elements and I have made a function that sends request to the server every time the div block is loaded ( pa...
I want to include another PHP file. I was using include_once but it gave me warning failed opening for inclusion. But when I used require_once with same path I didn't get any...
Using Java and SQLite database: I want to pass values using a function and UPDATE these values passed in the database for that particular record only. Query: db.execSQL (" U...
Using html and JavaScript I am displaying content on the <p> tag using a JavaScript function. When I open the html in browser it does display the contents as I Want them but t...
I have a naive question.. There is client and server side in a web application. On client side I have some js scripts that I don't want to expose to clients, so I want to writ...
I have some data ( log kind of ) having various fields and I need to group/map the data based on the rules for the various fields. This was simple if we just run SQL query say...
Um like there would be other ways of doing it too right? Which may be better or am I wrong??
Yes I get this. Here the scripts are written on client side itself right? So is it possible to write the script on the server side and then include the source in clients page?...
I'm giving external js file url to the html page.. is it possible to get the parameters passed along with the js file url to fetch from the script of that js file itself?
Even I searched on internet but couldn't find it. However what I wanted to do is pass some user id in js file url and give this to my client which he puts on his webpage. So b...
I'm making a GET API request in JavaScript to PHP server. I know how to make GET API request in JavaScript. How is this request handled in PHP at server side?
For server side which is better JavaScript or PHP ?
Has anyone used IFrame tag in html/js ?
What are different ways in which I can request server? I know fetch and XML http request.
One more doubt.. the IFrame tag will already be present on my main page. And the js file will create a template and put inside the IFrame tag using IFrame.body.innerhtml = htm...