Hello,
I newer to Ajax and have been using xajax. One problem I am having is that I try to execute some sort of action on a div, only to find out that it hasn't been "built" yet. So I get code that works sometimes and not others. Since you can't put <SCRIPT>runcodeatend();</SCRIPT> (because all applicable script pieces have been written), I was wondering if there was some way to check to see if a div exists.
Specifically, when the "page" loads, I want to show the contents of a certain div.
Please tell me if this makes no sense. I have a hard time framing the question.
Thanks,
Bryan
I newer to Ajax and have been using xajax. One problem I am having is that I try to execute some sort of action on a div, only to find out that it hasn't been "built" yet. So I get code that works sometimes and not others. Since you can't put <SCRIPT>runcodeatend();</SCRIPT> (because all applicable script pieces have been written), I was wondering if there was some way to check to see if a div exists.
Specifically, when the "page" loads, I want to show the contents of a certain div.
Please tell me if this makes no sense. I have a hard time framing the question.
Thanks,
Bryan