C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...









Generate Dynamic textbox in client using JAVASCRIPT


Posted Date: 06 May 2008    Resource Type: Code Snippets    Category: Javascript

Posted By: Raju.M       Member Level: Gold
Rating:     Points: 8




Tags are missing in this code. u can put "<" for missing places

script language ="javascript" type="text/javascript"
if(typeof(raju)=='undefined')
{
raju={};
}
raju.Gen=function(count)
{
var div=document.getElementById("MyDiv");
var content="";
for(i=0;i {
content+="br/>input type='text' id='txt'"+i+" />br/>";
}
div.innerHTML=content;
}

script


input type="text" id="txtCount" onchange=" raju.Gen(this.value);" /
input type="button" id="btnGen" value="generate" style="width: 82px"

/

div id="MyDiv"

/div>
/body>
/html>






Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Dynamic text Box in Clients  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to retrieve selected text from a textbox or textarea
Previous Resource: Hiding columns in GridView by JavaScript
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

internet fax

Contact Us    Privacy Policy    Terms Of Use