Enviado em 05/06/2014 - 15:20h
Eai pessoal, preciso passar duas variáveis pela URL através do ajax, só não sei se a forma de passar as variáveis esta certa e como faço pra recuperar na outra pagina?? vou deixar uma parte do código abaixo.
$verificacao = pesquisar("SELECT * FROM chamados ORDER BY Status");
$contarlinhas = $verificacao->fetch_assoc();
?>
<html>
<head>
<script src="../js/jquery-2.1.1.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".novoteste").click(function(event) {
event.preventDefault();
$("#testenew").load(<?php echo "'../php/chamados/busca_chamados.php?&ID1=" . $contarlinhas['ID']."' "; ?>);
});
$(".novoteste").click(function(event) {
event.preventDefault();
$("#").load('', function() {
$(this).fadeIn('slow');
});
});
});
</script>
<link href="../css/helpdesk/estilo_chamados.css" rel="stylesheet" type="text/css" />
</head>
$verificacao = pesquisar("SELECT * FROM chamados ORDER BY Status");
$contarlinhas = $verificacao->fetch_assoc();
?>
<html>
<head>
<script src="../js/jquery-2.1.1.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".novoteste").click(function(event) {
event.preventDefault();
$("#testenew").load(<?php echo "'../php/chamados/busca_chamados.php?&ID1=" . $contarlinhas['ID']."' "; ?>);
});
$(".novoteste").click(function(event) {
event.preventDefault();
$("#").load('', function() {
$(this).fadeIn('slow');
});
});
});
</script>
<link href="../css/helpdesk/estilo_chamados.css" rel="stylesheet" type="text/css" />
</head>