Skip to content

Tag: javascript

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 conte…

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…

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 &…