Javascript round bracket

wxdqz

New Member
Hi. Need some help here.

The following code is used:

<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Select" onclick="javascript:doChange('#getList.crs_code# - #getList.description#')">

And I will encountered an error: Unterminated string constant.

the error is due to the "Enter" value in the #getList.description#.

Does anyone know how to filter out the "Enter" value in the #getList.description#?

Thanks!
 
Back
Top