Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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: [email protected].. ty

  • 2 uphendule
  • 1 inale nkinga
  • 4 views
  • Igcine ukuphendulwa ngu 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..

Okulungisiwe ngu cor-el

All Replies (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...