I think your disabled set line should have one equal sign instead of 2? document.f_update.remakrs_1.disabled=true; two equal signs are used for "if" conditions.
On May 24, 2:36 pm, priya pratheep <dpriya.prath...@gmail.com> wrote: > Hi friends > > I want to disable my text box using java script. > > Here "a" is the line number where change dynamically > > var remarks="remarks"+a > var remarks_1=document.getElementById(remarks) > > document.f_update.remarks_1.disabled== "true"; > > f_update is the form name. > > It is not working..Pls help > > thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---