Posts by Will • 164 points
11 posts
-
2
votes1
answer2187
viewsA: Align div bootstrap 4 in the center
you can use the classes in your main div justify-content-center and align-items-center The code would look more or less like this: <!-- BOOTSTRAP CSS--> <link rel="stylesheet"…
twitter-bootstrapanswered Will 164 -
0
votes2
answers259
viewsA: AJAX request function that returns another function for JSON object manipulation
As I understand Voce wants to manipulate the JSON that Ajax returns. then the method would be more or less like this: function getData() { $.ajax({ url: 'script.php', type: 'post', statusCode: {…
-
1
votes3
answers563
viewsA: Problem keeping quotation marks
To quote a string you must use \: message = "\"Se quer viver uma vida feliz, amarre-se a uma meta, não a pessoas nem a coisas\"" The backslash (\) serves to undo the effect of a special language…
-
3
votes1
answer76
viewsA: Are all the Fontawesome folders useful?
Not necessarily you can only use the all.js file it will work normally. The other folders and files you can remove from your project.
-
0
votes2
answers150
viewsA: Error in primary and secondary keys
Errors found: Student Table With more than 1 Primary Key, you can only have 1 Primary key by table. Foreign key statement missing parameters ps: it was also declared the size of the Varchar for…
-
2
votes1
answer36
viewsA: how to display the full output of a repeat loop in the console
Good is not the best way but you can try it: 1 -> Press F12 (Open the debug panel') 2 -> Press F1 or click on the '3 dots in the panel' next to the X and click Settings (Opens the panel…
-
0
votes2
answers105
viewsA: getJSON with parsererror
Hello, you can try the following: if ($this->matricula_model->excluir($matricula) === true) echo json_encode(array('codigo' => '0')); else echo json_encode(array('codigo' => '1')); or…
-
1
votes2
answers82
views -
1
votes3
answers192
viewsA: Redirect to Tab specifies
I don’t know if I understand this right, but try this: In part .done(... from the ajax method after you redirect to that page. if ($('#tabCalc').hasClass('show')) { // verifica se a tab esta sendo…
-
0
votes1
answer138
viewsA: Close popup by clicking the back button
You can try using the function: document.addEventListener("backbutton", onBack, false) function onBack(){ /* faz algo ao clicar no botão voltar */ }
-
0
votes1
answer202
viewsA: Pre-written database (Phonegap/Cordova + sqlite)
I can’t comment later if I have to. Usually after you compile the project and if you are creating the Sqlite database upon launching the application, the path to the database after created would…