Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 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..

由cor-el于修改

所有回复 (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...