I.T. Discussion Community!
-Collapse +Expand
Search JavaScript Group:

-Collapse +Expand JavaScript Store

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyJavaScript and AJAX BoardJavaScript Topic   Print This     

Loaded FORM by AJAX is internally unknown

Loaded FORM by AJAX is internally unknown in JavaScript topic (part of our JavaScript and AJAX group).

Quick Search: internally   unknown   Loaded FORM   Loaded FORM by   AJAX internally  
Most Recent Post

Hello everyone,

i have a problem with AJAX that should be solved by a simple Javascript trick, at least i hope so :-)

after my AJAX requests i change the structure of my present pages just by replacing the content of some named elements with the loaded content. Works fine.

If the content contains a html form the form is - well - unknown to the browser. That means there is no effect by pressing CR. To submit the form the user has to press the submit button by mouse or use TAB until the focus is at the submit button and then use CR. That works fine too, but is not acceptable for long terms.

Assuming the browser loads normal html files by organizing the elements in a tree and processing the tree afterwards to get the form, get the submit buttons, get especially the configured key codes.

The question: is there a javascript function to let the browser rescan the internal html tree to get the changes that i have done AFTER the loading the browser does itself?

By searching i have not even found this question and so no answer. I think I am not the only one who loads forms with AJAX. So if that's the wrong question and there is any other solution, please tell me.



 Posted 11 years ago (Thread Starter)
Comment Quote
About rbn -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #13012, No Replies Be the first!
Thread Started 8/28/2008 10:07:05 AM
View Counter=3974
Last Reply Posted 11/15/2016 2:36:50 AM)
Joined=11 years ago   MB Posts=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P192A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #13012 Counter
Since 8/28/2008

Follow PrestwoodBoards on: 

©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech