|
-
September 19th, 2002, 12:30 AM
#1
Words after space is not showing in Text Box
Hi,
while displaying the string( it contains 3 to 4 words saperated by space) in text box using <input type=text>
it is skipping all the words after the first space.
how to display a string of more than one words in the text box
thanks in adv.
Venu
Venu Bharadwaj
"Dream it. U can do it!"
-
September 19th, 2002, 03:30 AM
#2
value=-
Are you using
value=these words
in the input tag?
If so, you might find
value="these words"
more expedient.
-
September 19th, 2002, 09:33 AM
#3
Once again, this is a decent example, why every value of an attribute should be included in quotes :
<input type="text" value="Foo Bar" />
<input type=text value=Foo Bar />
Zvona - First aid for client-side web design
-
September 23rd, 2002, 04:07 PM
#4
I agree with Zvona, in that it's important to be XHTML compliant. It's cleaner, and avoids issues such as this.
Here's another example. If you are using JSP in your architecture then you are familiar with the <% and %> delimiters for server-side scriptlets nested within client side code on your .jsp files(same principle as in ASP).
Well, some versions of the WebLogic app server parser will choke when it comes across the following:
<td width=15%>
It might misinterpret the %> to be a closing JSP delimiter, and cause an exception since there wasn't a matching opening delimiter. Now, if you had done:
<td width="15%">
Then you wouldn't ever run across this bug.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|