Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Create Dynamic Textbox array

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
<HTML>
<SCRIPT LANGUAGE="JavaScript">
function decided(){
alert("Hai");
alert (document.forms[0].Decide.value);
}
</SCRIPT>
<FORM>
Decide on input length<INPUT TYPE="text" NAME="Decide">
<INPUT TYPE="button" value= "Decided" on Click ="decided()"><BR>
<INPUT TYPE="text" NAME="NewAge">

<INPUT TYPE="submit"><INPUT TYPE="reset">
</FORM>
</HTML>
In the above code if the user enters some numeric value in the Decide textbox I need to generate an array of NewAge textboxes. How to do the same help me.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic