Login | Iscriviti | FAQ

Textbox white space issue

+ Rispondi al messaggio

1 messaggio Pagina 1 di 1

Textbox white space issue

da srk1986 » ven lug 28, 2017 12:08 pm

I want to create a text box which should allow spaces in between the words.

Coding is done as shown below.
sprintf(strTemp, "<input class='textbox' name='serialno' id='serialno' value='%s' type='text' maxlength='8' /></li>",serial_no);

Here when I set the the serial number to XYZ 123 from the the IE browser it is sent as XYZ+123(data seen through Wireshark). Please let me know how to fix this.

I have tried with my limited knowledge but nothing works for me.
Thanks in advance!
Avatar utente


  • Messaggi: 1
  • Iscritto il: ven lug 28, 2017 11:57 am

+ Rispondi al messaggio

Pagina 1 di 1