|
-
Dec 20th, 2000, 05:50 AM
#1
Noddy problem - I'm getting data back from a VB object to an ASP. The data is along the lines of 'Midland Bank'.
When I attempt to populate a text box with this information (ie, if my ASP variable is called 'strBankName', I set the textbox value=<%=strBankName%>) but I only get 'Midland'. It seems to be truncating at the first space.
What the hell is going on?
Please help, release date 5:00 tonight!!!!!
-
Dec 20th, 2000, 06:09 AM
#2
Fanatic Member
Hi jim
use the following
<INPUT type="text name="mytext" value="<%=strBankName%>">
you need the speach marks if the value is more than one word
hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Dec 20th, 2000, 06:19 AM
#3
Hot damn
Hot damn - that worked a treat.
Thanks for that matey - it looks like we'll make 5:00 after all!
-
Dec 20th, 2000, 06:22 AM
#4
Fanatic Member
no worries. A good bit of advice is to put any element value in a tag, withing speach marks
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
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
|