登录 | 注册 | FAQ
Anonymous

Textbox white space issue

+ 发表回复

1 篇帖子 分页: 1 / 1


Textbox white space issue

srk1986 » 周五 7月 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!
头像

srk1986

  • 帖子: 1
  • 注册: 周五 7月 28, 2017 11:57 am


+ 发表回复

分页: 1 / 1