Skip to main content

All Questions

Tagged with
0 votes
2 answers
66 views

How can I show/hide a DIV after selecting a SELECT option from the database?

This is the code for Select options: <div class="modal-body row"> <form role="form" action="patient/addNew" class="clearfix" method="post" ...
Denis yele's user avatar
0 votes
0 answers
14 views

Select where a column value is included in a string (or array) [duplicate]

js let ids = $.map($('.atitle'), (e) => $(e).attr('data-id')); console.log(ids); // ['6493e687161e0', '64a6776077613', '6489c85b3e6b1'] $.post('index_pro.php', {fn: 'btn_mails', args: [ids]}, ...
provance's user avatar
  • 927
-1 votes
1 answer
41 views

JSON data undefined after ajax calling

problem facing to show the name in maindata, whereas maindata is showing perfectly but maindata->name : undefined. maindata is longtext column in MySQL //this is the jQuery code section below //...
soumitra's user avatar
0 votes
1 answer
36 views

Jquery issue with dynamic added rows in html table

I am trying to autofill my PHP form by retrieving data from mysql table. Its work fine on one row. The problem which I am facing is that : When I dynamically add new rows using java script, than auto ...
Mian Omer's user avatar
0 votes
0 answers
59 views

autofill (jQuery) not working with dynamic added rows in HTML Form

I am trying to autofill my PHP form by retrieving data from mysql table. It works fine on one row. The problem which I am facing is that when I dynamically add new rows using Javascript, then the auto ...
Mian Omer's user avatar
1 vote
1 answer
197 views

PHP MySQL Query for jQuery Live Search Box - Unable to Output from Different Columns Based on Input Type

I'm fairly new to PHP/MySQL/jQuery and I'm stuck on this one piece of a large project. Coding a live seach box that I'd like to return Names or Phone Numbers already in the database based on user ...
lostest's user avatar
  • 45
0 votes
1 answer
73 views

Three dropdown selection

I want to create three dropdown selections of names using php, javascript and jquery and get the data from mysql. So if I select a certain name on the first selection then it wont show on other ...
user3153327's user avatar
0 votes
0 answers
22 views

jQuery get two different values from dynamic table [duplicate]

I managed to get the first values of the dynamic table. But the code needs to get the element(values) from the table column that is clicked and edited. //this is dynamic table //UPDATED $(receipts)....
Kuletiska's user avatar
1 vote
3 answers
66 views

How to get value from Encode json data on php pages

I try to take object from my controller, when I console.log(response) it show the value correctly which is in [ { "itemValue":100, "itemUnit":"2" } ] ...
Muhammad Faiz Abdullah's user avatar
0 votes
1 answer
46 views

I'm using YII2, I'm displaying a list of inactive users. I'm using the checkbox to select the user. I'm going to send an email to the user I tagged

$user id name 001 user 1 002 User 2 <ul> <?php foreach($user as $user( { ?> <input class="is-selected" type="checkbox" value="<?= $value->user->id ?...
Dr Br And's user avatar
0 votes
1 answer
93 views

How to sort rows based on a column that contains array values (PHP/MySQL/jQuery)

First i should say that I'm looking for a solution with php/mysql and JS/jQuery, but i don't know what would be the best general approach for larger datasets (40.000+). Imagine you have a database and ...
stst's user avatar
  • 83
1 vote
1 answer
63 views

How to serialize just one value of input via jQuery?

I started to do dropdown list instead select bcz it is not possible to stylize but I did not think to future and now I found that if I want to save data from form to db I need to get ids via $_POST ...
Dump's user avatar
  • 259
0 votes
1 answer
39 views

Code not executing after second request to server

I make two requests to the server using $.post. After executing the first request, i call the second request, passing the information received from the first. The problem is that after the second ...
Madara's user avatar
  • 3
1 vote
1 answer
79 views

Auto hide Row / Column of Table if specific field exists in MySQL Database using Django

I am working on a Django project and I am stuck in a situation where I want to hide a row in a table if specific entity exists in column in database. I am using MYSQL database. I want auto hide row ...
ahsan yazdani's user avatar
1 vote
0 answers
498 views

PHP AJAX Load previous data on Scroll Top

How can I load more (previous) data when the page is scrolled to top? I am creating a chat app where by default I am loading last 20 messages only, to avoid heavy load on the server. When the chat box ...
Super Coder's user avatar

15 30 50 per page
1
2 3 4 5
275