Skip to content Skip to sidebar Skip to footer

Missing ) After Argument List In Html Form Code

I am trying to use the following code, to display $formcode, which is the html code for a form, in a popup windows. I understand that it is not an ideal method, but I want to under

Solution 1:

I'm not sure if it's this or not, because I can't test it, but check the alert('$blah')

it should be with \' I think

alert(\'$blah\')

Solution 2:

I am not sure what you mean by not working, but if you mean the window is not popping up then the problem is in your fetchlayer.js file. But other wise let us know what exactly what you mean by not working.

Solution 3:

The content of $formcode needs to have the single quotes double-escaped:

alert(\\'$blah\\');

so that the string contains "\'".

Post a Comment for "Missing ) After Argument List In Html Form Code"