Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
1 answer
368 views

onchange event in a "text input" to insert a value in a database when onchange event occured

I'm having a project where I want to do a "onchange" event, inside a text input form. What I want to happen is when I enter a value inside the text input form, then clicked outside it. It ...
CommonSense_Gone's user avatar
0 votes
2 answers
1k views

onchange of onchange dropdown list (state, country, city)

If I have an example like State, country, city, in a front-end application with angular and sql data from a back-end. How can I make an onchange dependent on another onchange, with three dropdown list?...
Daniele Vallorani's user avatar
1 vote
1 answer
617 views

ERROR TypeError: Cannot read property 'id' of undefined at tipo-struttura.component.ts (angular+spring+sql)

In my Spring + Angular + MYSQL project I have to manage three lists, where the third depends on the second, and the second on the choices the user takes in the first. I'm trying to connect the first ...
Daniele Vallorani's user avatar
0 votes
0 answers
28 views

Can react router and maps be used to create an add new page function?

I am fairly new to react but doing well! I am looking to build a simple 'add' profile application. My UX designs include the following flow: Home page (with add new page button) Opens a blank page (...
pedrohasabeard's user avatar
0 votes
2 answers
581 views

Submit form onchange checkbox and update mysql db

<?php if(isset($_POST['chkStatus'])){ for ($i=0;$i<count($_POST['chkStatus']);$i++) { $count = count($_POST['chkStatus']); list($txtClientId, $txStatusValue) = explode('-', $...
GaLaTaS's user avatar
1 vote
1 answer
70 views

How to store text corresponding to the number(value) in on-change drop-down?

I am using on-change drop-down with 4 levels. It works well and display the Name(Text) correctly. But when I store it to mysql database it stores the value number not the text. How do I store the text ...
SS Nath's user avatar
  • 75
0 votes
1 answer
76 views

new Query database when change option field

I have an intial group of options like these: <select name="sortBy" id="sortBy"> <option value="waktupesan">Waktu Pesan</option> <option value="nomornota">Nomor Nota&...
Wisnu's user avatar
  • 65
1 vote
2 answers
93 views

MySQL, detect row value change on sorted index

MySQL newbie. I have a huge database (some 33 millions rows). Every X seconds a new row is added. DATE_TIME is stored as primary key. A progressive INDEX (unsigned int) is recorded. It grows only. ...
Alex Poca's user avatar
  • 2,516
0 votes
1 answer
3k views

select onchange update php id and then query mysql

I have a select with a information modal/button that I want to dinamically connect when select is changed My code like this <select name="name_select" id="my_select"> <option value="1">...
FireFoxII's user avatar
  • 828
2 votes
5 answers
114 views

using javascript var to query data with php mysql

i cant find any solution with this condition, when id user text value changed, name & address will filled. but it return some error in the php query. sorry if this post duplicated because i cant ...
SRL's user avatar
  • 77
0 votes
2 answers
142 views

Change value of <input type> when <select> change value MySql

i need your help for a simple question: I have a form and i need that when user select another value iin a , it will change all values of of form. My code is as follow: <form action="updatecost....
Agata's user avatar
  • 3
0 votes
1 answer
184 views

autosubmit drop down value into database

i'm trying to auto submit the value of drop down menu using onchange=this.form.submit() into database but i couldn't make it work. can anyone please help me. any suggestions will be highly appreciated....
ksonia90's user avatar
1 vote
2 answers
970 views

3 option select set value from database remove onchange

I have 3 select option that load values depending on each other My first select is Continent it has the value of continent on load second select is Country this select will be loaded on change of ...
Brownman Revival's user avatar
0 votes
3 answers
2k views

PHP Drop Down On Change

I have a drop down list called courses. When the user chooses a course, I should show him information about the teacher that gives this course. So, on change I need to get the value selected, and show ...
user3640056's user avatar
0 votes
1 answer
85 views

How to get the current year to use this as a filter in MySQL?

On my page I display a number of results. I want the visitor to be able to apply a filter on the results, depending on the year. So, if the user selects the filter "2014" only the result of 2014 ...
Jeffrey van Zwam's user avatar

15 30 50 per page