By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

client side transform problem

P: n/a
I have several xml files and a common stylesheet on the server. In my
html I have a sidebar of links. For each link I fire an onClick event
that triggers an xml load and transform with the output displayed in a
small popup. Everything works great for one click. My issue is that in
Firefox, each subsequent click concatenates the results to the previous
tranformed results. How can i start fresh each time. I've tried
resetting all variables involved but the problem won't go away. This
works fine in IE by the way. Does anyone have an idea on what the issue
could be?

Dec 2 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Forget it. I figured it out. After banging my head for 24hrs I caught
the problem 5 minutes after submitting this.

In my closePopup() function I had been attempting to erase the content
via document.getElementById(box).innerHtml="";

The innerHtml method has be referenced with the html portion all caps:
innerHTML

Dec 2 '05 #2

P: n/a
On 2005-12-02, jo**********@gmail.com <jo**********@gmail.com> wrote:
I have several xml files and a common stylesheet on the server. In my
html I have a sidebar of links. For each link I fire an onClick event
that triggers an xml load and transform with the output displayed in a
small popup. Everything works great for one click. My issue is that in
Firefox, each subsequent click concatenates the results to the previous
tranformed results. How can i start fresh each time. I've tried
resetting all variables involved but the problem won't go away. This
works fine in IE by the way. Does anyone have an idea on what the issue
could be?


if you're using document.write are you
using document.close

bye.
Jasen
Dec 3 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.