Side navigation
#6854 closed bug (duplicate)
Opened July 31, 2010 09:33AM UTC
Closed August 04, 2010 12:35AM UTC
IE in Win7 problem with S.ajax
Reported by: | Helge Vadim | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | event | Version: | 1.4.2 |
Keywords: | Ajax IE | Cc: | |
Blocked by: | Blocking: |
Description
When IE load the site first time after the clicking on element must script to work, but appears the notification window "The object does not support this property or a method. Code 0. String 123, symbol 183 in jquery-1.4.2.min.js"
If I made page reloading - script start to work normally.
So, how I can solve this trouble?
Simple code:
<li onclick="ask_kat ('FHCTF', 'kuhen_fltr')
In head I connect:
<SCRIPT language="javascript" src="./scr/jquery-1.4.2.min.js" type="text/javascript"></script>
Body of the function "ask_kat":
function ask_kat (A, P) {
$.ajax({
type: "POST",
url: "php/fragen.php",
cash: true,
data: {produkt:A, table:P},
success: function(html){
$("#Center").html(html);
}
}); }
Body of the fragen.php:
<?php
$kat.=$_POST['produkt'];
$tbl.=$_POST['table'];
print $kat."<br>";
print $tbl;
?>
Attachments (0)
Change History (1)
Changed August 04, 2010 12:35AM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Dup of #6855.