1 (edited by skillful 2013-05-06 12:04:20 PM)

Topic: Mistake at xajax and plug-in use for IE

Hello! For IE there is a special plug-in rounding corners of a framework. http://fetchak.com/ie-css3/

And so in a linking of xajax and ie-css3 xajax doesn't work. Doesn't work in the IE browser. How it is possible to solve this problem?

Here a code for an example


require_once( "../xajax_core/xajax.inc.php" );

function plaginforIE( $data)
    $testResponse=new xajaxResponse();
    $testResponse->alert( "Hello" );
    $objResponse->alert( "POST\nformData: " . print_r( $formData, true ) );

    return $testResponse;

$xajax=new xajax();
$xajax->configure("debug", true);
$xajax->configure("javascript URI", '../');
$xajax->register(XAJAX_FUNCTION, "plaginforIE");
//$xajax->configure("responseType", 'XML');


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en">
        <title>xajaxResponse Test | xajax Tests</title>

        <?php $xajax->printJavascript( "../" ) ?>

            border: 1px solid #EAB33A;
            background-color: #FDFFCD;
            border-radius: 6px;
            -moz-border-radius: 6px;
            -webkit-border-radius: 6px;
            behavior: url(ie-css3.htc);

        <h2><a href = "index.php">xajax Tests</a></h2>

        <h1>xajaxResponse Test</h1>

        <form id = "testForm1" onsubmit = "return false;">
                <div class="plaginforIE">plaginforIE</div>
                <input type = "submit" value = "Show Response"
                    onclick = "alert(xajax.request({xjxfun:'showOutput'}, {mode:'synchronous'})); return false;" />
                <input type = "submit" value = "plaginforIE"
                    onclick = "xajax_plaginforIE(xajax.getFormValues('testForm1')); return false;" />

        <div id = "submittedDiv">

Re: Mistake at xajax and plug-in use for IE


There shouldn't be any connection between a css definition and xajax.

Does it work in any other browsers with this htc enabled?


If you ever stop learning you may as well dig a hole, crawl in and pull the top over yourself.

Re: Mistake at xajax and plug-in use for IE

htc is javascript.

Xajax works in all browsers except IE. In it there is an error of javascript