Skip to content
Advertisement

Tag: javascript

Challenge to uniquely identify a computer from any of its browsers

In an HTML5 web app, I’m building a feature that relies on client-to-client communication (with pusher). It’s made of PHP on the server-side and Javascript with Vue on the client side. The typical scenario is: a window popup is opened, and from there it communicates directly with some other windows opened into any another browser on the same computer. Let’s

unwanted leading space inside data from a table column

a column named story is a text type clicking on a button I have a jquery ajax to get data from that column – on a specific id on server side I have: on client side: everything works problem – there is a leading space before data on both places – bstory and console for example if column content is

Why doesn’t the message POST

When sending data, an empty value comes in Yii2, why is that? Data post: id, name. JS PHP } Code 200, post null Answer By default the Yii reads post params from $_POST global variable. But web server only parses request of body send as application/x-www-form-urlencoded or multipart/form-data. If you send data with Content-Type: application/json they are not parsed into

Search result from other pages

I created a table that displays the values ​​from the my mysql table. Then, using the tutorial, I created pagination system. Top of page: Bottom of page: Then I created a search engine (input) with onkeyup=”myFunction()” and MyFunction looks: My problem appears when I try to search for something – it searches only from 1 page, and from other pages

Advertisement