LizardKingSchwing
Programmer
I have a function in an .ASP page which is called run() and it takes 3 string parameters e.g run('blah','blah'm'blah')
so on the OnClick of one of my buttons on the page I call the run command
with some strings however - to my bemusement I have found that if there are spaces in the string parameters the I get a "Unterminated String Constant" error! - Is there a way around this - Is there a way to stop this from occuring it happens when below is output
<INPUT TYPE="BUTTON" VALUE="Yes" Name="Yes" OnClick=run('AC101 s0/0','Ash 2948G','coo2')>
Any tips etc. will be greatfully received
cheers
LK--<
so on the OnClick of one of my buttons on the page I call the run command
with some strings however - to my bemusement I have found that if there are spaces in the string parameters the I get a "Unterminated String Constant" error! - Is there a way around this - Is there a way to stop this from occuring it happens when below is output
<INPUT TYPE="BUTTON" VALUE="Yes" Name="Yes" OnClick=run('AC101 s0/0','Ash 2948G','coo2')>
Any tips etc. will be greatfully received
cheers
LK--<