Side navigation
#6855 closed bug (invalid)
Opened July 31, 2010 09:35AM UTC
Closed August 07, 2010 03:33AM 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 (2)
Change History (2)
Changed August 03, 2010 04:54PM UTC by comment:1
Changed August 07, 2010 03:33AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
This looks like a typo:
cash: true,
should be
cache: true,
If there is still a problem, ask for help on the forum so others can help to narrow down the cause.
P.S. I told about IE8 in Windows 7.