I'm still very new at jQuery, but I've been having great success with
the jQuery Taconite plugin -- at least until users tried using it on
IE instead of Firefox or Safari.

The problem I'm having is that the second time I try calling Taconite,
IE displays the response page from the server, rather than properly
parsing the Taconite commands into the current page.  Here's a pared
down version of what I'm doing:

<script type="text/javascript">
function reorderprod(turl) {
        $.taconite.debug = true;
        $.get(turl);
        return false;
};
</script>

<div id="replaceme">
        <a href="replacestuff.cfm?blah=blah"
onclick="reorderprod(this.href); return false;">Replace Me</a>
</div>

and the server side returns:
<taconite>
        <replace select="#replaceme">
                <div id="replaceme">
                        <a href="replacestuff.cfm?blah=blah2"
onclick="reorderprod(this.href); return false;">Replaced</a>
                </div>
        </replace>
</taconite>

This all works fine the first time I click on the link (and every time
in Firefox and Safari), but in IE 7, the second time I click on the
link, the page changes to the XML response from the server, rather
than executing the Taconite commands in the existing page.

I searched, and couldn't find anyone else mentioning this, so I'm sure
it's just some silliness on my part, but if someone could point out
what I'm doing wrong, I'd appreciate it -- thanks!

Reply via email to