JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 27th, 2006, 01:35 PM
s001dxp's Avatar
s001dxp s001dxp is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: The Birth Place of Aviation
Posts: 297 s001dxp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 34 m
Reputation Power: 11
I added a form element to a page via AJAX and cannot retrive the input value

I added a text input using javascript.

I then tried to assess the value of the text input using

document.getElementById('id').value

but I get a javascript error: Object Required.

--A question would be, does the document object recognize the input element that was added?

Port
__________________
"We know that all things work together for good for those who love God, who are called according to his purpose." Romans 8:28

Reply With Quote
  #2  
Old May 4th, 2006, 10:39 AM
Veamon's Avatar
Veamon Veamon is offline
Blowing up trees with my mind.
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Feb 2005
Location: Neverland Ranch, minus the touching.
Posts: 3,382 Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)Veamon User rank is General 24th Grade (Above 100000 Reputation Level)  Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1Folding Points: 205630 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 2 h 5 m 54 sec
Reputation Power: 2566
i do sort of the same thing with a selection box like this

var myVar=document.areas.namelist.value;

areas is the form name, namelist is the name of the selection box.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > I added a form element to a page via AJAX and cannot retrive the input value

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap