This discussion is archived
1 Reply Latest reply: Aug 3, 2012 4:00 AM by EJP RSS

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

594478 Newbie
Currently Being Moderated
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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points