hi,
I have problem while developing web application in php.
I have one text box in which enter total nos.and in one div there are other text box and dropdownlist.
i want to show div repeatately until match the value of first text box to text box in that div ..please give me solution....
manu555 0 Newbie Poster
Recommended Answers
Jump to Postfirst of all, set id for your TR
<tr id=myrow style='display:block'> . . . </tr>
now add few lines in calculate total function
function calculatetotal() { . . . . . if(text1.value==text2.value)//here use proper syntax according to your elements { ///hide row document.getElementById("myrow").style.display='none'; } …
Jump to PostI think you need some jquery code, to do so.
I never did so, but seen somebody posted here such code in jquery.or
following post may help, he is adding text boxes dynamically using javascript.http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/364816/1562712#post1562712
All 6 Replies
twiss 155 Veteran Poster
manu555 0 Newbie Poster
urtrivedi 276 Nearly a Posting Virtuoso
manu555 0 Newbie Poster
urtrivedi 276 Nearly a Posting Virtuoso
manu555 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.