Jump to content

Ajax Dom tree problems


sazzie

Recommended Posts


This is a really big problem I have here.

I have tabs which display various information. One of those tabs contains a form.
Using Ajax, I am attempting to write some information into one of the textfields in this form but the dom tree does not seem able to access it even though the form displays in the tab on the webpage.

Can anyone tell me if incomplete DOM trees are common in Ajax application building and a solution to it, please.
Link to comment
https://forums.phpfreaks.com/topic/35493-ajax-dom-tree-problems/
Share on other sites

I've had issues like this in the past.  One solution is to simply build the form when the page is built and simply hide it with the CSS display property and then show it whenever that tab is selected instead of loading it's content from the backend.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.