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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.