Appending text while posting data

A

anush

Hi,
I have a ajax based text dialog box. When I submit the content and
display the box using the tooltip mechanism. I would want to append
some data to it and display it.

Eg: If the text which I input is "Hello", while displaying I would
want to diplay it as "Anush says Hello".

Can anybody please help me with this.

thanks,
Anush
 
E

Evertjan.

anush wrote on 04 dec 2007 in comp.lang.javascript:
I have a ajax based text dialog box. When I submit the content and
display the box using the tooltip mechanism. I would want to append
some data to it and display it.

Eg: If the text which I input is "Hello", while displaying I would
want to diplay it as "Anush says Hello".

Can anybody please help me with this.

var v = 'Anush says ';

var myInput = 'Hello';

alert(v + myInput);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top