i am new to php, javascript and web
I am having a situation => I have to set a value of text field on my client side, i pass value to my javascript function and it sets value as
function editSubService(description){
setVal("sub_service_description", description);
}
and it sets the value right , but if there is new line in the text, it does not set the text field. how can this set that value of text field, its only not working if new line
but it didn't work either – Raheel Sadiq Nov 23 '12 at 11:39