I need a menu that allows me to search, create and modify values of a related table, the table is called: values
Values of select2
ID NAME
1. Gren
2. Red
______
Agregar nuevo valor desde el menú select2
Add new value from the select2 menu
Example
3 Blue
The search should show more than 10 thousand records without searching the search.
In stage 1:
The value is searched, if it does not exist, an option of + add appears
In stage 2:
An input appears in the menu to add the new value
In stage 3:
Click on the Save button to save the value in the menu
In stage 4:
Edit and save menu values in the related table.
The example must be show the values of a table, select the value name, save the id and show the data of a related table in the menu.
Example:
<script type="text/javascript">
$('.dx').select2({
placeholder: 'Select dx',
ajax: {
url: '[login to view URL]',
dataType: 'json',
delay: 250,
processResults: function (data) {
return {
results: data
};
},
cache: true
},
templateResult: function(state) {
if (![login to view URL]) // the ADD don't have id
return $("<div id='newstate' style='display:none;'><span><input type='text' id='textbox'></span><span><button id='save'>SAVE</button></span></div><b class='btn-select-add'>" + [login to view URL] + "</b>");
else
return [login to view URL];
}
});
Dear client.
I've read your project description carefully and very interested.
I can do this in a few minutes.
Let's discuss over chat and get started.
Waiting for your reply.
Best regards.
Hi,
We have experienced resources working on projects using latest techniques. We can get the job done as per your requirements keeping the work as per industry standards. We will work with you till you are satisfied.
Best Regards
DevZone
Hello,
I am a software engineer with more than 4 years of experience in web development using javascript.
Please share the details with me
This will be very simple task to be me.
I have made lots of Restful APIs and delivered 5 mobile application being the backend I have rich experience of 3+ Years.
I have worked a lot on jquery and Ajax and has very good hands-on PHP. I will see work and complete it as soon as possible. I have worked on Laravel, Drupal, Core PHP almost all framework of PHP along with Jquery and AJAX.
Have delivered 6 projects in PHP. I deliver my work on an exact timeline defined according to the work given. It will be great to work with you.
Hi There, I can do it very quickly & effectively. I'm having more than 9 years of web development experience. Looking forward to work with you! Thanks!