Posts by Michel Xavier • 45 points
11 posts
-
0
votes1
answer34
viewsQ: How to use the Jquery Keyup event to show records within a div coming from a PHP script?
I am working on a project where I would like when I was going to type some value into an input, to be showing the records just below it. Below follows the code structure I have until then:…
-
-2
votes1
answer210
viewsQ: URL Friendly: How to insert a php variable into a URL
I’m working on a PHP ad system for autonomous professionals where I’m having a hard time including the title of this ad within the page URL making it a friendly URL. I found some similar issues, but…
-
0
votes1
answer67
viewsA: Selectpicker: show already marked options when page is loaded - AJAX JSON
I was able to resolve the issue using the Javascript string split() method in the val method of the selectpicker as below: $('.selectpicker').selectpicker('val', data.cor.split(',')); Now every time…
-
1
votes1
answer67
viewsQ: Selectpicker: show already marked options when page is loaded - AJAX JSON
I’m using the Bootstrap-Select (selectpicker) and I would like to know how to make the options inside this selectpicker already marked when the page is loaded and the same is clicked. In case I’m…
-
-1
votes1
answer48
viewsQ: Checkbox list selects only the first option not allowing selecting the others
I’m developing a form where it has a list of options using the input type checkbox. It happens that in the checkbox list only it is possible to select only the first option and it is not possible to…
-
0
votes1
answer95
viewsA: Load related values in input text field correctly using Typeahead.js
After a few adjustments I managed to find a solution. I kept the "list" variable and made an adjustment in the Typeahead afterSelect event where after selecting an option within the input text the…
-
0
votes1
answer95
viewsQ: Load related values in input text field correctly using Typeahead.js
I’m using the plugin Typeahead.js in my project and would like to modify my script so that it can fill the input text field correctly after a select box option is selected. As a reference I created…
-
0
votes1
answer356
viewsQ: How to load a value into a DIV after selecting an option in the dropdownlist of an input text that uses Typeahead and Ajax?
Hello! I am developing a project where I am using the plugin Bootstrap Twitter-Typeahead where I load values inside an input text. The page I am developing has 2 fields: 1. An input text field whose…
-
-1
votes2
answers601
viewsQ: PHP Jquery dynamic autocomplete
I am developing a php registration page where it contains 2 fields, a dropdownlist select field whose name is "Category" and the other an input field with autocomplete functions whose name is…
-
1
votes1
answer59
viewsQ: Update field value in Mysql using PHP if condition
I have a table in Mysql named "Register" where it has the following fields: id - Type: Auto Increment - Primary Key dataCadastro - Type: Date statusFK - Values 1 (On) and 2 (Off) ---> In the case…
-
1
votes1
answer78
viewsQ: Ajax script is not hiding modal popup - $("#dataModal"). modal('Hide');
I have a form that is inserted in a Modal Bootstrap code. When the values are entered in the input fields, the Ajax script passes these values to a php file and returns with a successful Alert. What…