Forum Moderators: open

Message Too Old, No Replies

Works in IE but not in FF (DOM)

Not able to access Input filed's value (generated through DOM)

         

ranjuvs

9:03 am on Dec 10, 2008 (gmt 0)

10+ Year Member



Hi all,

I am working on a project where I have to work on dynamically generated input fields(text) and get their values using DOM. This works fine with IE. But in FF I am not able to access the value of newly generated text field. When I tried to alert the field, it showed null value as if the input field never existed.

Please help me solving this problem.

Regards
Ranju

birdbrain

11:21 am on Dec 10, 2008 (gmt 0)



Hi there ranjuvs,

and a warm welcome to these forums. ;)

we really need to see all the relevant code for us to have a chance of providing assistance.

birdbrain

ranjuvs

11:52 am on Dec 10, 2008 (gmt 0)

10+ Year Member



Thanks for your help.. I fixed the issue. the issue was with not giving the attribute "id" for the dynamically created element.

Thanks again
Ranju