Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

So.. i'am web dev. and i use JQuery all time.. i cant use it on firefox rigth now.. it is a simple invocation to a $.POST.. is good in ALL my other 5 web browsers but not here...., my mail: reiko_01@hotmail.com.. ty

  • 2 odgovora
  • 1 ima to težavo
  • 4 ogledi
  • Zadnji odgovor od DaveyAM

more options

from my index.php:

<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript">
	function Get(){
		$.post('data.php', {id: form.id.value},
			function(output){
				$('#datos').html(output).show();
			});		
	}
</script>
</head>
<body>
<p>
<form name="form">
	<input type="text" name="id" /><input type="button" name="obtener"  onclick="Get();" value="Obtener" />
</form>
<div id="datos">Result</div>
</p>

</body> </html>

in the other scrip (data.php):


and plop.. dosn't work on firefox... :S is a really simple and common JQuery scritp..

from my index.php: <pre><nowiki><html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <head> <script type="text/javascript" src="jquery-1.6.2.min.js"></script> <script type="text/javascript"> function Get(){ $.post('data.php', {id: form.id.value}, function(output){ $('#datos').html(output).show(); }); } </script> </head> <body> <p> <form name="form"> <input type="text" name="id" /><input type="button" name="obtener" onclick="Get();" value="Obtener" /> </form> <div id="datos">Result</div> </p></nowiki></pre> </body> </html> in the other scrip (data.php): <?php $id = mysql_real_escape_string($_POST['id']); echo $id; ?> ---------- and plop.. dosn't work on firefox... :S is a really simple and common JQuery scritp..

Spremenil cor-el

Vsi odgovori (2)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

Thank you my friend... i still have the problem...