I am using javascript in jsp... In my page there is a text box which needs a input for date. I use a function for popup of the calender and then on selecting the date will include the date in the text box... there seems to be no problem with the code...

Code:
fn(this,textbox1)
is the function.... there is no problem with the code since if i use it in html it works perfectly.. But however it says Unterminated String Constant when i use it in jsp....

I could not rectify it... Can you tell me what could be the problem with it?