G
Guest
I'm using VB.Net 2003 to build a web page. I need to prompt the client for a
name in order to save a list. I used the following code to
btnSaveList.Attributes.Add("onclick", "var listname = prompt('You are about
to save the following list. \n\n', '" & cboMailLists.SelectedItem.Text &
"');if (listname) {" + Me.sListName + " = listname;}")
When i select the button I get an error and the buttons onclick="var
listname = prompt('You are about to save the following list. \n\n', 'Cheryls
Chain List');if (listname) { = listname;}"
is missing my vb.net variable Me.sListName.
How can I pass the value from the jscript prompt to my vb.net variable?
Any help would be appreciated.
Thanks
GRB
name in order to save a list. I used the following code to
btnSaveList.Attributes.Add("onclick", "var listname = prompt('You are about
to save the following list. \n\n', '" & cboMailLists.SelectedItem.Text &
"');if (listname) {" + Me.sListName + " = listname;}")
When i select the button I get an error and the buttons onclick="var
listname = prompt('You are about to save the following list. \n\n', 'Cheryls
Chain List');if (listname) { = listname;}"
is missing my vb.net variable Me.sListName.
How can I pass the value from the jscript prompt to my vb.net variable?
Any help would be appreciated.
Thanks
GRB