K
KathyB
Hi, I'm using the following script to pass 3 variables to my next
form.
function Anomaly(typeIn,idIn,textIn)
{
var sType = 'type=' typeIn
var sIdNo = '&idNo=' idIn
var sText = '&text=' textIn
newWindow = window.open(('Anomaly.aspx?' + sType + sIdNo + sText),
'Anomaly', 'width=650')
}
My parser (msxml4) "thinks" there is a problem with variables sIdNo
and sText -- the &'s are causing it (expecting a semicolon after
'&idNo='). It functions but I don't want the user to see the browser
error...how else to I pass the multiple parameters?
Any thoughts?
Thanks, Kathy
form.
function Anomaly(typeIn,idIn,textIn)
{
var sType = 'type=' typeIn
var sIdNo = '&idNo=' idIn
var sText = '&text=' textIn
newWindow = window.open(('Anomaly.aspx?' + sType + sIdNo + sText),
'Anomaly', 'width=650')
}
My parser (msxml4) "thinks" there is a problem with variables sIdNo
and sText -- the &'s are causing it (expecting a semicolon after
'&idNo='). It functions but I don't want the user to see the browser
error...how else to I pass the multiple parameters?
Any thoughts?
Thanks, Kathy