Posts by Robson N. Castro • 1 point
1 post
-
0
votes0
answers38
viewsQ: pass value to php variable
I have this code: var $login = $("input[name='usuario']"); var dadosajax = { 'cod': elemento.value, 'login': $login.val(), }; pageurl = 'salvar_dados_usuarios.php'; $.ajax({ //url da pagina url:…