Friday, October 26, 2007

Concatenate values from two text box and populate the value in another text box

Today I had to create a function to concatenate two values from a text box and populate the output in another text box. This I did to inmprove the usability of the form for inputing the credit card data.

This is what I wrote



function conc()
{
var mon;
var yy;

yy=document.getElementById("Texty").value;
mon=document.getElementById("Textm").value;
document.getElementById("Texte").value=yy+mon;
}

4 comments:

rajinimaski said...

Thanks for sharing :)

rajinimaski said...

Thanks for sharing :)

fike said...

first, thanks for sharing
next, could you make it in C#?

fike said...

first, thanks for sharing
next, could you make it in C#?

Free Power BI Classes for Week 7 (Last)

Just completed the last class of the F ree  P ower BI  classes of this series.  Today we have covered Adding a canvas background Adding Imag...