|
-
Nov 21st, 2002, 11:29 AM
#1
Thread Starter
Frenzied Member
messagebox string [RESOLVED]
In the message box I want everything after "delete" to be on a new line. I was using & vbCrLf &, but it's giving me an error. Anyone have the correct syntax?
thanks.
btnDelete.Attributes("onclick") = "javascript:return confirm('Are you sure you want to delete Bid Record " & selectedRow & "?')"
Last edited by EyeTalion; Nov 21st, 2002 at 01:56 PM.
-
Nov 21st, 2002, 11:54 AM
#2
vbCrLF is VB, you are using java script. try \n instead (inside the quotes).
"... want to delete\nBid Record...."
-
Nov 21st, 2002, 12:04 PM
#3
Thread Starter
Frenzied Member
thanks Tech, that worked.
Do you know why I have to click twice before the message box appears. The buttons are in a datagrid.
-
Nov 21st, 2002, 12:34 PM
#4
Glad that worked.
As for the other problem, sorry, no clue.
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
|