Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში. აქ არავინ უნდა მოგთხოვოთ ტელეფონზე დარეკვა, შეტყობინების გაგზავნა ან პირადი მონაცემების გაზიარება. რამე საეჭვოს შემჩნევისას გთხოვთ გვაცნობოთ „დარღვევის მოხსენებით“.

ვრცლად

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 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 4 ნახვა
  • ბოლოს გამოეხმაურა DaveyAM

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)

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

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