I have a function called InsertSmiley. It inserts an image into a text editor. I got all the source code for this from FCKeditor. I am going to be playing around a little with the call of this function and just want to understand the syntax here.
Could someone explain to me what this call is doing? Particularly after the pUrl.replace.
Thanks!Code:onclick="InsertSmiley(\'' + pUrl.replace(/'/g, "\\'" ) + '\')"