Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use dynamic id of text box document.getElementById in JQuery

s k swainAug 3 2012 — edited Aug 3 2012
Dear Sir,

I am having code in ajax
I am bringing id from ajax
code is for text box id='textbox1"+i+"'

here id name I am giving textbox and i is my increamented value and appending with textbox

the id is dynamically generating it is like textbox0 on next textbox2

But
how I ll use the same dynamically generated id in on of my jquery function using document.getElementbyid

I am not good in jquery.
please help

regards sanat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2012
Added on Aug 3 2012
1 comment
492 views