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

-Collapse +Expand JavaScript Store

Prestwood eMagazine

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

   ► MB LobbyJavaScript and AJAX BoardJavaScript Topic   Print This    All Groups  

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
Rank: Cadet 2nd Year

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 10 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=3609
Last Reply Posted 11/15/2016 2:36:50 AM)
Joined=10 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 = P1226A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #13012 Counter
Since 8/28/2008
   Contact Us!
PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

199 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...

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