Optionsfelder bleiben ihrem Wert nicht treuJquery

JQuery-Programmierung
Anonymous
 Optionsfelder bleiben ihrem Wert nicht treu

Post by Anonymous »

Ich versuche, Daten in meine Datenbank einzugeben, aber keines der Optionsfelder bleibt hängen. Egal, in was ich sie ändere, sie bleiben gleich. Sie funktionieren zunächst einwandfrei (was auch immer die erste Schaltfläche ist, sie wird erfolgreich angezeigt).

Code: Select all

$(document).ready(function () {
$('#loadingstart').hide();
});

function walle() {
$('#loadingstart').show();
var product_id_array = $('#product_id_array').val();
var position = $('#position').val();

var URL = "./includes/user-course-settings.php"; /////post.php will be equal the variable "comment"

$.post(URL,
{
walle: "post",
username1: username,
position1: position,
navpos1: navpos
},
function (data) {//parameter wall will be equal "post", name1 will be equal to the var "name" and comment1 will be equal to the var "comment"
$("#startOver").prepend(data).show();// the result will be placed above the the #result div
$('#loadingstart').hide();
});
}

Ich glaube nicht, dass irgendetwas konkret mit MYSQLI falsch ist, da es zunächst in die Datenbank eingeht. Das Problem ist, dass die Werte unabhängig davon, was ich auswähle, die erste Auswahl innerhalb der gruppierten Optionsfelder behalten.

Code: Select all




position

[*]
left
[*]
center
[*]
right




Nav Position?

[*]
Left
[*]
Center
[*]
Right






[img]https://www.mysite.com/images/loading.gif[/img]



Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post