C
Craig G
i have the little jscript which i use for returning a value from a
popupModal. but i want to extend this so that i cant split the string into
different values
in future the string will return a concatenated value, eg BT56FD%ClaraPark,
with % being the dividing marker. but not being compentent in jscript i am
unable to split the returned value
at the mo i have this:-
if (strReturn != null)
document.getElementById('txtPostcode').value=strReturn;
but i want this:-
if (strReturn != null)
document.getElementById('txtPostcode').value=<all data upto % marker>
document.getElementById('txtAddress').value=<all data after % marker>;
Cheers,
Craig
how do i go about this?
popupModal. but i want to extend this so that i cant split the string into
different values
in future the string will return a concatenated value, eg BT56FD%ClaraPark,
with % being the dividing marker. but not being compentent in jscript i am
unable to split the returned value
at the mo i have this:-
if (strReturn != null)
document.getElementById('txtPostcode').value=strReturn;
but i want this:-
if (strReturn != null)
document.getElementById('txtPostcode').value=<all data upto % marker>
document.getElementById('txtAddress').value=<all data after % marker>;
Cheers,
Craig
how do i go about this?